Changeset 1993


Ignore:
Timestamp:
Feb 8, 2017, 8:58:22 PM (8 years ago)
Author:
Silvan Scherrer
Message:

xz: update vendor to version 5.2.3

Location:
xz/vendor/current
Files:
1 added
115 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified xz/vendor/current/ABOUT-NLS

    r1791 r1993  
    1919work on translations can contact the appropriate team.
    2020
    21    When reporting bugs in the `intl/' directory or bugs which may be
    22 related to internationalization, you should tell about the version of
    23 `gettext' which is used.  The information can be found in the
    24 `intl/VERSION' file, in internationalized packages.
    25 
    26 1.1 Quick configuration advice
    27 ==============================
    28 
    29 If you want to exploit the full power of internationalization, you
    30 should configure it using
    31 
    32      ./configure --with-included-gettext
    33 
    34 to force usage of internationalizing routines provided within this
    35 package, despite the existence of internationalizing capabilities in the
    36 operating system where this package is being installed.  So far, only
    37 the `gettext' implementation in the GNU C library version 2 provides as
    38 many features (such as locale alias, message inheritance, automatic
    39 charset conversion or plural form handling) as the implementation here.
    40 It is also not possible to offer this additional functionality on top
    41 of a `catgets' implementation.  Future versions of GNU `gettext' will
    42 very likely convey even more functionality.  So it might be a good idea
    43 to change to GNU `gettext' as soon as possible.
    44 
    45    So you need _not_ provide this option if you are using GNU libc 2 or
    46 you have installed a recent copy of the GNU gettext package with the
    47 included `libintl'.
    48 
    49 1.2 INSTALL Matters
     211.1 INSTALL Matters
    5022===================
    5123
     
    5729   By default, this package will be installed to allow translation of
    5830messages.  It will automatically detect whether the system already
    59 provides the GNU `gettext' functions.  If not, the included GNU
    60 `gettext' library will be used.  This library is wholly contained
    61 within this package, usually in the `intl/' subdirectory, so prior
    62 installation of the GNU `gettext' package is _not_ required.
    63 Installers may use special options at configuration time for changing
    64 the default behaviour.  The commands:
    65 
    66      ./configure --with-included-gettext
     31provides the GNU `gettext' functions.  Installers may use special
     32options at configuration time for changing the default behaviour.  The
     33command:
     34
    6735     ./configure --disable-nls
    6836
    69 will, respectively, bypass any pre-existing `gettext' to use the
    70 internationalizing routines provided within this package, or else,
    71 _totally_ disable translation of messages.
     37will _totally_ disable translation of messages.
    7238
    7339   When you already have GNU `gettext' installed on your system and run
    7440configure without an option for your new package, `configure' will
    75 probably detect the previously built and installed `libintl.a' file and
    76 will decide to use this.  This might not be desirable.  You should use
    77 the more recent version of the GNU `gettext' library.  I.e. if the file
    78 `intl/VERSION' shows that the library which comes with this package is
    79 more recent, you should use
    80 
    81      ./configure --with-included-gettext
    82 
    83 to prevent auto-detection.
    84 
    85    The configuration process will not test for the `catgets' function
    86 and therefore it will not be used.  The reason is that even an
    87 emulation of `gettext' on top of `catgets' could not provide all the
    88 extensions of the GNU `gettext' library.
     41probably detect the previously built and installed `libintl' library
     42and will decide to use it.  If not, you may have to to use the
     43`--with-libintl-prefix' option to tell `configure' where to look for it.
    8944
    9045   Internationalized packages usually have many `po/LL.po' files, where
     
    9752codes, stating which languages are allowed.
    9853
    99 1.3 Using This Package
     541.2 Using This Package
    10055======================
    10156
     
    149104(Portuguese as spoken in Portugal) in this context.
    150105
    151 1.4 Translating Teams
     1061.3 Translating Teams
    152107=====================
    153108
     
    178133programming skills, here.
    179134
    180 1.5 Available Packages
     1351.4 Available Packages
    181136======================
    182137
    183138Languages are not equally supported in all packages.  The following
    184 matrix shows the current state of internationalization, as of May 2010.
    185 The matrix shows, in regard of each package, for which languages PO
    186 files have been submitted to translation coordination, with a
     139matrix shows the current state of internationalization, as of June
     1402010.  The matrix shows, in regard of each package, for which languages
     141PO files have been submitted to translation coordination, with a
    187142translation percentage of at least 50%.
    188143
    189      Ready PO files       af am ar as ast az be be@latin bg bn_IN bs ca crh
    190                         +---------------------------------------------------+
    191      a2ps               |                    []                      []    |
    192      aegis              |                                                   |
    193      ant-phone          |                                                   |
    194      anubis             |                                                   |
    195      aspell             |             []                             []    |
    196      bash               |                                                   |
    197      bfd                |                                                   |
    198      bibshelf           |             []                                    |
    199      binutils           |                                                   |
    200      bison              |                                                   |
    201      bison-runtime      |             []                                    |
    202      bluez-pin          | []          []                                    |
    203      bombono-dvd        |                                                   |
    204      buzztard           |                                                   |
    205      cflow              |                                                   |
    206      clisp              |                                                   |
    207      coreutils          |                                []          []    |
    208      cpio               |                                                   |
    209      cppi               |                                                   |
    210      cpplib             |                                            []    |
    211      cryptsetup         |                                                   |
    212      dfarc              |                                                   |
    213      dialog             |                          []                []    |
    214      dico               |                                                   |
    215      diffutils          |                                            []    |
    216      dink               |                                                   |
    217      doodle             |                                                   |
    218      e2fsprogs          |                                            []    |
    219      enscript           |                                            []    |
    220      exif               |                                                   |
    221      fetchmail          |                                            []    |
    222      findutils          |                                []                 |
    223      flex               |                                            []    |
    224      freedink           |                                                   |
    225      gas                |                                                   |
    226      gawk               |             []                             []    |
    227      gcal               |                                            []    |
    228      gcc                |                                                   |
    229      gettext-examples   | []          []                 []          []    |
    230      gettext-runtime    |                    []          []          []    |
    231      gettext-tools      |                                []          []    |
    232      gip                |                                []                 |
    233      gjay               |                                                   |
    234      gliv               |                                []                 |
    235      glunarclock        |             []                 []                 |
    236      gnubiff            |                                                   |
    237      gnucash            |                                            []    |
    238      gnuedu             |                                                   |
    239      gnulib             |                                                   |
    240      gnunet             |                                                   |
    241      gnunet-gtk         |                                                   |
    242      gnutls             |                                                   |
    243      gold               |                                                   |
    244      gpe-aerial         |                                                   |
    245      gpe-beam           |                                                   |
    246      gpe-bluetooth      |                                                   |
    247      gpe-calendar       |                                                   |
    248      gpe-clock          |             []                                    |
    249      gpe-conf           |                                                   |
    250      gpe-contacts       |                                                   |
    251      gpe-edit           |                                                   |
    252      gpe-filemanager    |                                                   |
    253      gpe-go             |                                                   |
    254      gpe-login          |                                                   |
    255      gpe-ownerinfo      |             []                                    |
    256      gpe-package        |                                                   |
    257      gpe-sketchbook     |                                                   |
    258      gpe-su             |             []                                    |
    259      gpe-taskmanager    |             []                                    |
    260      gpe-timesheet      |             []                                    |
    261      gpe-today          |             []                                    |
    262      gpe-todo           |                                                   |
    263      gphoto2            |                                                   |
    264      gprof              |                                []                 |
    265      gpsdrive           |                                                   |
    266      gramadoir          |                                                   |
    267      grep               |                                                   |
    268      grub               |             []                             []    |
    269      gsasl              |                                                   |
    270      gss                |                                                   |
    271      gst-plugins-bad    |                                []                 |
    272      gst-plugins-base   |                                []                 |
    273      gst-plugins-good   |                                []                 |
    274      gst-plugins-ugly   |                                []                 |
    275      gstreamer          | []                             []          []    |
    276      gtick              |                                                   |
    277      gtkam              |                    []                             |
    278      gtkorphan          |                                []                 |
    279      gtkspell           | []          []     []                             |
    280      gutenprint         |                                                   |
    281      hello              |                                []                 |
    282      help2man           |                                                   |
    283      hylafax            |                                                   |
    284      idutils            |                                                   |
    285      indent             |                                []          []    |
    286      iso_15924          |                                                   |
    287      iso_3166           | []       []        []          []  []   [] [] [] |
    288      iso_3166_2         |                                                   |
    289      iso_4217           |                                                   |
    290      iso_639            |          [] []     []              []         []  |
    291      iso_639_3          |                                               []  |
    292      jwhois             |                                                   |
    293      kbd                |                                                   |
    294      keytouch           |                                            []    |
    295      keytouch-editor    |                                                   |
    296      keytouch-keyboa... |                                            []    |
    297      klavaro            |       []                                          |
    298      latrine            |                                                   |
    299      ld                 |                                []                 |
    300      leafpad            |                                []          []    |
    301      libc               |                                []          []    |
    302      libexif            |                    ()                             |
    303      libextractor       |                                                   |
    304      libgnutls          |                                                   |
    305      libgpewidget       |                                                   |
    306      libgpg-error       |                                                   |
    307      libgphoto2         |                                                   |
    308      libgphoto2_port    |                                                   |
    309      libgsasl           |                                                   |
    310      libiconv           |                                []                 |
    311      libidn             |                                                   |
    312      lifelines          |                                                   |
    313      liferea            |                          []                []    |
    314      lilypond           |                                                   |
    315      linkdr             |       []                                          |
    316      lordsawar          |                                                   |
    317      lprng              |                                                   |
    318      lynx               |                                            []    |
    319      m4                 |                                                   |
    320      mailfromd          |                                                   |
    321      mailutils          |                                                   |
    322      make               |                                                   |
    323      man-db             |                                                   |
    324      man-db-manpages    |                                                   |
    325      minicom            |                                                   |
    326      mkisofs            |                                                   |
    327      myserver           |                                                   |
    328      nano               |                                []          []    |
    329      opcodes            |                                                   |
    330      parted             |                                                   |
    331      pies               |                                                   |
    332      popt               |                                                   |
    333      psmisc             |                                                   |
    334      pspp               |                                            []    |
    335      pwdutils           |                                                   |
    336      radius             |                                            []    |
    337      recode             |                    []                      []    |
    338      rosegarden         |                                                   |
    339      rpm                |                                                   |
    340      rush               |                                                   |
    341      sarg               |                                                   |
    342      screem             |                                                   |
    343      scrollkeeper       |                 [] []                      []    |
    344      sed                |             []                             []    |
    345      sharutils          |                                []          []    |
    346      shishi             |                                                   |
    347      skencil            |                                                   |
    348      solfege            |                                                   |
    349      solfege-manual     |                                                   |
    350      soundtracker       |                                                   |
    351      sp                 |                                                   |
    352      sysstat            |                                                   |
    353      tar                |                                []                 |
    354      texinfo            |                                                   |
    355      tin                |                                                   |
    356      unicode-han-tra... |                                                   |
    357      unicode-transla... |                                                   |
    358      util-linux-ng      |                                            []    |
    359      vice               |                                                   |
    360      vmm                |                                                   |
    361      vorbis-tools       |                                                   |
    362      wastesedge         |                                                   |
    363      wdiff              |                                                   |
    364      wget               |                    []                      []    |
    365      wyslij-po          |                                                   |
    366      xchat              |             []     []          []          []    |
    367      xdg-user-dirs      | []       [] []     []    []    []  []      [] [] |
    368      xkeyboard-config   |                                []          [] [] |
    369                         +---------------------------------------------------+
    370                           af am ar as ast az be be@latin bg bn_IN bs ca crh
    371                            6  0  2  3 19   1 11     3    28   3    1 38  5
    372 
    373                           cs da  de  el en en_GB en_ZA eo es et eu fa fi
     144     Ready PO files       af am an ar as ast az be be@latin bg bn_IN bs ca
     145                        +--------------------------------------------------+
     146     a2ps               |                       []                      [] |
     147     aegis              |                                                  |
     148     ant-phone          |                                                  |
     149     anubis             |                                                  |
     150     aspell             |                []                             [] |
     151     bash               |                                                  |
     152     bfd                |                                                  |
     153     bibshelf           |                []                                |
     154     binutils           |                                                  |
     155     bison              |                                                  |
     156     bison-runtime      |                []                                |
     157     bluez-pin          | []             []                                |
     158     bombono-dvd        |                                                  |
     159     buzztard           |                                                  |
     160     cflow              |                                                  |
     161     clisp              |                                                  |
     162     coreutils          |                                   []          [] |
     163     cpio               |                                                  |
     164     cppi               |                                                  |
     165     cpplib             |                                               [] |
     166     cryptsetup         |                                                  |
     167     dfarc              |                                                  |
     168     dialog             |                             []                [] |
     169     dico               |                                                  |
     170     diffutils          |                                               [] |
     171     dink               |                                                  |
     172     doodle             |                                                  |
     173     e2fsprogs          |                                               [] |
     174     enscript           |                                               [] |
     175     exif               |                                                  |
     176     fetchmail          |                                               [] |
     177     findutils          |                                   []             |
     178     flex               |                                               [] |
     179     freedink           |                                                  |
     180     gas                |                                                  |
     181     gawk               |                []                             [] |
     182     gcal               |                                               [] |
     183     gcc                |                                                  |
     184     gettext-examples   | []             []                 []          [] |
     185     gettext-runtime    |                                   []          [] |
     186     gettext-tools      |                                   []          [] |
     187     gip                |                                   []             |
     188     gjay               |                                                  |
     189     gliv               |                                   []             |
     190     glunarclock        |                []                 []             |
     191     gnubiff            |                                                  |
     192     gnucash            |                                               [] |
     193     gnuedu             |                                                  |
     194     gnulib             |                                                  |
     195     gnunet             |                                                  |
     196     gnunet-gtk         |                                                  |
     197     gnutls             |                                                  |
     198     gold               |                                                  |
     199     gpe-aerial         |                                                  |
     200     gpe-beam           |                                                  |
     201     gpe-bluetooth      |                                                  |
     202     gpe-calendar       |                                                  |
     203     gpe-clock          |                []                                |
     204     gpe-conf           |                                                  |
     205     gpe-contacts       |                                                  |
     206     gpe-edit           |                                                  |
     207     gpe-filemanager    |                                                  |
     208     gpe-go             |                                                  |
     209     gpe-login          |                                                  |
     210     gpe-ownerinfo      |                []                                |
     211     gpe-package        |                                                  |
     212     gpe-sketchbook     |                                                  |
     213     gpe-su             |                []                                |
     214     gpe-taskmanager    |                []                                |
     215     gpe-timesheet      |                []                                |
     216     gpe-today          |                []                                |
     217     gpe-todo           |                                                  |
     218     gphoto2            |                                                  |
     219     gprof              |                                   []             |
     220     gpsdrive           |                                                  |
     221     gramadoir          |                                                  |
     222     grep               |                                                  |
     223     grub               |                []                             [] |
     224     gsasl              |                                                  |
     225     gss                |                                                  |
     226     gst-plugins-bad    |                                   []             |
     227     gst-plugins-base   |                                   []             |
     228     gst-plugins-good   |                                   []             |
     229     gst-plugins-ugly   |                                   []             |
     230     gstreamer          | []                                []          [] |
     231     gtick              |                                                  |
     232     gtkam              |                       []                         |
     233     gtkorphan          |                                   []             |
     234     gtkspell           | []             []     []                         |
     235     gutenprint         |                                                  |
     236     hello              |                                   []             |
     237     help2man           |                                                  |
     238     hylafax            |                                                  |
     239     idutils            |                                                  |
     240     indent             |                                   []          [] |
     241     iso_15924          |                                                  |
     242     iso_3166           | []          []        []          []  []   [] [] |
     243     iso_3166_2         |                                                  |
     244     iso_4217           |                                                  |
     245     iso_639            |             [] []     []              []         |
     246     iso_639_3          |                                                  |
     247     jwhois             |                                                  |
     248     kbd                |                                                  |
     249     keytouch           |                                               [] |
     250     keytouch-editor    |                                                  |
     251     keytouch-keyboa... |                                               [] |
     252     klavaro            |          []                                      |
     253     latrine            |                                                  |
     254     ld                 |                                   []             |
     255     leafpad            |                                   []          [] |
     256     libc               |                                   []          [] |
     257     libexif            |                       ()                         |
     258     libextractor       |                                                  |
     259     libgnutls          |                                                  |
     260     libgpewidget       |                                                  |
     261     libgpg-error       |                                                  |
     262     libgphoto2         |                                                  |
     263     libgphoto2_port    |                                                  |
     264     libgsasl           |                                                  |
     265     libiconv           |                                   []             |
     266     libidn             |                                                  |
     267     lifelines          |                                                  |
     268     liferea            |                             []                [] |
     269     lilypond           |                                                  |
     270     linkdr             |          []                                      |
     271     lordsawar          |                                                  |
     272     lprng              |                                                  |
     273     lynx               |                                               [] |
     274     m4                 |                                                  |
     275     mailfromd          |                                                  |
     276     mailutils          |                                                  |
     277     make               |                                                  |
     278     man-db             |                                                  |
     279     man-db-manpages    |                                                  |
     280     minicom            |                                                  |
     281     mkisofs            |                                                  |
     282     myserver           |                                                  |
     283     nano               |                                   []          [] |
     284     opcodes            |                                                  |
     285     parted             |                                                  |
     286     pies               |                                                  |
     287     popt               |                                                  |
     288     psmisc             |                                                  |
     289     pspp               |                                               [] |
     290     pwdutils           |                                                  |
     291     radius             |                                               [] |
     292     recode             |                       []                      [] |
     293     rosegarden         |                                                  |
     294     rpm                |                                                  |
     295     rush               |                                                  |
     296     sarg               |                                                  |
     297     screem             |                                                  |
     298     scrollkeeper       |                    [] []                      [] |
     299     sed                |                []                             [] |
     300     sharutils          |                                   []          [] |
     301     shishi             |                                                  |
     302     skencil            |                                                  |
     303     solfege            |                                                  |
     304     solfege-manual     |                                                  |
     305     soundtracker       |                                                  |
     306     sp                 |                                                  |
     307     sysstat            |                                                  |
     308     tar                |                                   []             |
     309     texinfo            |                                                  |
     310     tin                |                                                  |
     311     unicode-han-tra... |                                                  |
     312     unicode-transla... |                                                  |
     313     util-linux-ng      |                                               [] |
     314     vice               |                                                  |
     315     vmm                |                                                  |
     316     vorbis-tools       |                                                  |
     317     wastesedge         |                                                  |
     318     wdiff              |                                                  |
     319     wget               |                       []                      [] |
     320     wyslij-po          |                                                  |
     321     xchat              |                []     []          []          [] |
     322     xdg-user-dirs      | []    []    [] []     []    []    []  []      [] |
     323     xkeyboard-config   |                                   []          [] |
     324                        +--------------------------------------------------+
     325                          af am an ar as ast az be be@latin bg bn_IN bs ca
     326                           6  0  1  2  3 19   1 10     3    28   3    1 38
     327
     328                          crh cs da  de  el en en_GB en_ZA eo es et eu fa
    374329                        +-------------------------------------------------+
    375      a2ps               | [] []  []  []     []            [] []       []  |
    376      aegis              |    []  []                       []              |
    377      ant-phone          |    []  ()                                       |
    378      anubis             |    []  []                                   []  |
    379      aspell             | [] []  []         []            []              |
    380      bash               | []                           [] []          []  |
    381      bfd                |                                 []          []  |
    382      bibshelf           |    []  []                       []          []  |
    383      binutils           |                                 []          []  |
    384      bison              |        []  []                               []  |
    385      bison-runtime      |    []  []  []                      []       []  |
    386      bluez-pin          | [] []  []  []                [] []          []  |
    387      bombono-dvd        |    []                                       []  |
    388      buzztard           | [] []  []                                       |
    389      cflow              |    []  []                                   []  |
    390      clisp              |    []  []     []                []              |
    391      coreutils          | [] []  []                          []           |
    392      cpio               |                                             []  |
    393      cppi               |                                             []  |
    394      cpplib             |    []  []                       []              |
    395      cryptsetup         |        []                                       |
    396      dfarc              |    []  []                       []          []  |
    397      dialog             |    []  []                    [] []    []        |
     330     a2ps               |     [] []  []  []     []            [] []       |
     331     aegis              |        []  []                       []          |
     332     ant-phone          |        []  ()                                   |
     333     anubis             |        []  []                                   |
     334     aspell             |     [] []  []         []            []          |
     335     bash               |     []                           [] []          |
     336     bfd                |                                     []          |
     337     bibshelf           |        []  []                       []          |
     338     binutils           |                                     []          |
     339     bison              |            []  []                               |
     340     bison-runtime      |        []  []  []                      []       |
     341     bluez-pin          |     [] []  []  []                [] []          |
     342     bombono-dvd        |        []                                       |
     343     buzztard           |     [] []  []                                   |
     344     cflow              |        []  []                                   |
     345     clisp              |        []  []     []                []          |
     346     coreutils          |     [] []  []                          []       |
     347     cpio               |                                                 |
     348     cppi               |                                                 |
     349     cpplib             |        []  []                       []          |
     350     cryptsetup         |            []                                   |
     351     dfarc              |        []  []                       []          |
     352     dialog             |        []  []                    [] []    []    |
    398353     dico               |                                                 |
    399      diffutils          | [] []  []  []                [] []          []  |
    400      dink               |    []  []                       []              |
    401      doodle             |        []                                       |
    402      e2fsprogs          | []     []                       []              |
    403      enscript           |    []  []         []                            |
    404      exif               | () []  []                                   []  |
    405      fetchmail          | [] []  ()  []     []            []              |
    406      findutils          | [] []  []                                   []  |
    407      flex               |        []                       []          []  |
    408      freedink           |    []  []                       []          []  |
    409      gas                |                                 []              |
    410      gawk               |    []  []                       []              |
    411      gcal               |                                 []              |
    412      gcc                |        []                       []              |
    413      gettext-examples   |        []  []                [] []          []  |
    414      gettext-runtime    |    []  []                    [] []          []  |
    415      gettext-tools      |        []                       []    []        |
    416      gip                |    []  []                       []    []    []  |
    417      gjay               |        []                                   []  |
    418      gliv               | [] []  []                                   []  |
    419      glunarclock        |    []  []                                   []  |
    420      gnubiff            |        ()                                       |
    421      gnucash            | []     ()  ()     ()            ()          ()  |
    422      gnuedu             |    []                           []              |
    423      gnulib             |        []                       []          []  |
     354     diffutils          |     [] []  []  []                [] []          |
     355     dink               |        []  []                       []          |
     356     doodle             |            []                                   |
     357     e2fsprogs          |     []     []                       []          |
     358     enscript           |        []  []         []                        |
     359     exif               |     () []  []                                   |
     360     fetchmail          |     [] []  ()  []     []            []          |
     361     findutils          |     [] []  []                                   |
     362     flex               |            []                       []          |
     363     freedink           |        []  []                       []          |
     364     gas                |                                     []          |
     365     gawk               |        []  []                       []          |
     366     gcal               |                                     []          |
     367     gcc                |            []                       []          |
     368     gettext-examples   |            []  []                [] []          |
     369     gettext-runtime    |        []  []                    [] []          |
     370     gettext-tools      |            []                       []    []    |
     371     gip                |        []  []                       []    []    |
     372     gjay               |            []                                   |
     373     gliv               |     [] []  []                                   |
     374     glunarclock        |        []  []                                   |
     375     gnubiff            |            ()                                   |
     376     gnucash            |     []     ()  ()     ()            ()          |
     377     gnuedu             |        []                           []          |
     378     gnulib             |            []                       []          |
    424379     gnunet             |                                                 |
    425      gnunet-gtk         |    []                                           |
    426      gnutls             | []     []                                       |
    427      gold               |                                 []          []  |
    428      gpe-aerial         | [] []  []                       []          []  |
    429      gpe-beam           | [] []  []                       []          []  |
    430      gpe-bluetooth      |    []  []                                   []  |
    431      gpe-calendar       |    []                                       []  |
    432      gpe-clock          | [] []  []                       []          []  |
    433      gpe-conf           | [] []  []                                   []  |
    434      gpe-contacts       |    []  []                       []          []  |
    435      gpe-edit           |    []  []                                   []  |
    436      gpe-filemanager    |    []  []                       []          []  |
    437      gpe-go             | [] []  []                       []          []  |
    438      gpe-login          |    []  []                                   []  |
    439      gpe-ownerinfo      | [] []  []                       []          []  |
    440      gpe-package        |    []  []                       []          []  |
    441      gpe-sketchbook     | [] []  []                       []          []  |
    442      gpe-su             | [] []  []                       []          []  |
    443      gpe-taskmanager    | [] []  []                       []          []  |
    444      gpe-timesheet      | [] []  []                       []          []  |
    445      gpe-today          | [] []  []                       []          []  |
    446      gpe-todo           |    []  []                       []          []  |
    447      gphoto2            | [] []  ()         []            []    []    []  |
    448      gprof              |    []  []                       []          []  |
    449      gpsdrive           |    []                           [] []           |
    450      gramadoir          |    []  []                    []                 |
    451      grep               | []                                          []  |
    452      grub               |    []  []                                   []  |
    453      gsasl              |        []                                   []  |
    454      gss                |                                             []  |
    455      gst-plugins-bad    | [] []  []                       []    []    []  |
    456      gst-plugins-base   | [] []  []                       []    []    []  |
    457      gst-plugins-good   | [] []  []  []                   []    []    []  |
    458      gst-plugins-ugly   | [] []  []  []                   []    []    []  |
    459      gstreamer          | [] []  []                       []    []    []  |
    460      gtick              |    []  ()                    []             []  |
    461      gtkam              | [] []  ()                    [] []              |
    462      gtkorphan          | [] []  []                    []                 |
    463      gtkspell           | [] []  []  []                [] []    []    []  |
    464      gutenprint         |    []  []         []                        []  |
    465      hello              |    []  []                    [] []          []  |
    466      help2man           |        []                                   []  |
    467      hylafax            |        []                       []              |
    468      idutils            |    []  []                                   []  |
    469      indent             | [] []  []                    [] [] [] []    []  |
    470      iso_15924          |    []      ()                [] []          []  |
    471      iso_3166           | [] []  []  ()                [] [] [] ()    []  |
    472      iso_3166_2         |            ()                                   |
    473      iso_4217           | [] []  []  ()                   [] []       []  |
    474      iso_639            | [] []  []  ()                [] []          []  |
    475      iso_639_3          |                                                 |
    476      jwhois             |                                 []          []  |
    477      kbd                | [] []  []  []                   []              |
    478      keytouch           |    []  []                                   []  |
    479      keytouch-editor    |    []  []                                   []  |
    480      keytouch-keyboa... |    []                                       []  |
    481      klavaro            | [] []  []                    []                 |
    482      latrine            |    []  ()                                   []  |
    483      ld                 |    []                           []          []  |
    484      leafpad            | [] []  []  []                   []    []    []  |
    485      libc               | [] []  []                       []          []  |
    486      libexif            |    []  []         ()                            |
     380     gnunet-gtk         |        []                                       |
     381     gnutls             |     []     []                                   |
     382     gold               |                                     []          |
     383     gpe-aerial         |     [] []  []                       []          |
     384     gpe-beam           |     [] []  []                       []          |
     385     gpe-bluetooth      |        []  []                                   |
     386     gpe-calendar       |        []                                       |
     387     gpe-clock          |     [] []  []                       []          |
     388     gpe-conf           |     [] []  []                                   |
     389     gpe-contacts       |        []  []                       []          |
     390     gpe-edit           |        []  []                                   |
     391     gpe-filemanager    |        []  []                       []          |
     392     gpe-go             |     [] []  []                       []          |
     393     gpe-login          |        []  []                                   |
     394     gpe-ownerinfo      |     [] []  []                       []          |
     395     gpe-package        |        []  []                       []          |
     396     gpe-sketchbook     |     [] []  []                       []          |
     397     gpe-su             |     [] []  []                       []          |
     398     gpe-taskmanager    |     [] []  []                       []          |
     399     gpe-timesheet      |     [] []  []                       []          |
     400     gpe-today          |     [] []  []                       []          |
     401     gpe-todo           |        []  []                       []          |
     402     gphoto2            |     [] []  ()         []            []    []    |
     403     gprof              |        []  []                       []          |
     404     gpsdrive           |        []                           [] []       |
     405     gramadoir          |        []  []                    []             |
     406     grep               |     []                                          |
     407     grub               |        []  []                                   |
     408     gsasl              |            []                                   |
     409     gss                |                                                 |
     410     gst-plugins-bad    |     [] []  []                       []    []    |
     411     gst-plugins-base   |     [] []  []                       []    []    |
     412     gst-plugins-good   |     [] []  []  []                   []    []    |
     413     gst-plugins-ugly   |     [] []  []  []                   []    []    |
     414     gstreamer          |     [] []  []                       []    []    |
     415     gtick              |        []  ()                    []             |
     416     gtkam              |     [] []  ()                    [] []          |
     417     gtkorphan          |     [] []  []                    []             |
     418     gtkspell           |     [] []  []  []                [] []    []    |
     419     gutenprint         |        []  []         []                        |
     420     hello              |        []  []                    [] []          |
     421     help2man           |            []                                   |
     422     hylafax            |            []                       []          |
     423     idutils            |        []  []                                   |
     424     indent             |     [] []  []                    [] [] [] []    |
     425     iso_15924          |        []      ()                [] []          |
     426     iso_3166           | []  [] []  []  ()                [] [] [] ()    |
     427     iso_3166_2         |                ()                               |
     428     iso_4217           |     [] []  []  ()                   [] []       |
     429     iso_639            | []  [] []  []  ()                [] []          |
     430     iso_639_3          | []                                              |
     431     jwhois             |                                     []          |
     432     kbd                |     [] []  []  []                   []          |
     433     keytouch           |        []  []                                   |
     434     keytouch-editor    |        []  []                                   |
     435     keytouch-keyboa... |        []                                       |
     436     klavaro            |     [] []  []                    []             |
     437     latrine            |        []  ()                                   |
     438     ld                 |        []                           []          |
     439     leafpad            |     [] []  []  []                   []    []    |
     440     libc               |     [] []  []                       []          |
     441     libexif            |        []  []         ()                        |
    487442     libextractor       |                                                 |
    488      libgnutls          | []                                              |
    489      libgpewidget       |    []  []                                   []  |
    490      libgpg-error       | []     []                                       |
    491      libgphoto2         |    []  ()                                       |
    492      libgphoto2_port    |    []  ()                             []        |
    493      libgsasl           |                                             []  |
    494      libiconv           | [] []  []                    []    []       []  |
    495      libidn             | []     []                    []             []  |
    496      lifelines          |    []  ()                                       |
    497      liferea            | []     []  []                   []    []        |
    498      lilypond           | []     []                       []          []  |
    499      linkdr             |    []  []                       []          []  |
    500      lordsawar          |    []                                           |
     443     libgnutls          |     []                                          |
     444     libgpewidget       |        []  []                                   |
     445     libgpg-error       |     []     []                                   |
     446     libgphoto2         |        []  ()                                   |
     447     libgphoto2_port    |        []  ()                             []    |
     448     libgsasl           |                                                 |
     449     libiconv           |     [] []  []                    []    []       |
     450     libidn             |     []     []                    []             |
     451     lifelines          |        []  ()                                   |
     452     liferea            |     []     []  []                   []    []    |
     453     lilypond           |     []     []                       []          |
     454     linkdr             |        []  []                       []          |
     455     lordsawar          |        []                                       |
    501456     lprng              |                                                 |
    502      lynx               | [] []  []                          []           |
    503      m4                 | [] []  []  []                               []  |
     457     lynx               |     [] []  []                          []       |
     458     m4                 |     [] []  []  []                               |
    504459     mailfromd          |                                                 |
    505      mailutils          |                                 []              |
    506      make               |    []  []                       []          []  |
     460     mailutils          |                                     []          |
     461     make               |        []  []                       []          |
    507462     man-db             |                                                 |
    508463     man-db-manpages    |                                                 |
    509      minicom            | [] []  []                       []          []  |
    510      mkisofs            |                                             []  |
     464     minicom            |     [] []  []                       []          |
     465     mkisofs            |                                                 |
    511466     myserver           |                                                 |
    512      nano               |        []                       []    []    []  |
    513      opcodes            |        []                       []          []  |
    514      parted             | []     []                                       |
     467     nano               |            []                       []    []    |
     468     opcodes            |            []                       []          |
     469     parted             |     []     []                                   |
    515470     pies               |                                                 |
    516      popt               | [] []  []                    [] []          []  |
    517      psmisc             | []     []                             []    []  |
    518      pspp               |                                 []              |
    519      pwdutils           |    []                                           |
    520      radius             |                                 []              |
    521      recode             | [] []  []  []                [] []          []  |
    522      rosegarden         | ()     ()                       ()          ()  |
    523      rpm                |    []  []                       []              |
     471     popt               |     [] []  []                    [] []          |
     472     psmisc             |     []     []                             []    |
     473     pspp               |                                     []          |
     474     pwdutils           |        []                                       |
     475     radius             |                                     []          |
     476     recode             |     [] []  []  []                [] []          |
     477     rosegarden         |     ()     ()                       ()          |
     478     rpm                |        []  []                       []          |
    524479     rush               |                                                 |
    525480     sarg               |                                                 |
    526481     screem             |                                                 |
    527      scrollkeeper       | [] []  []         []            []          []  |
    528      sed                | []     []  []                [] [] []       []  |
    529      sharutils          |    []  []                       [] []       []  |
     482     scrollkeeper       |     [] []  []         []            []          |
     483     sed                |     []     []  []                [] [] []       |
     484     sharutils          |        []  []                       [] []       |
    530485     shishi             |                                                 |
    531      skencil            |    []  ()                       []              |
    532      solfege            |        []                    []    []       []  |
    533      solfege-manual     |                              []    []           |
    534      soundtracker       |    []  []                       []              |
    535      sp                 |        []                                       |
    536      sysstat            |    []  []                             []    []  |
    537      tar                | []     []                          [] []    []  |
    538      texinfo            |        []                    [] []              |
    539      tin                |        []                          []           |
     486     skencil            |        []  ()                       []          |
     487     solfege            |            []                    []    []       |
     488     solfege-manual     |                                  []    []       |
     489     soundtracker       |        []  []                       []          |
     490     sp                 |            []                                   |
     491     sysstat            |        []  []                             []    |
     492     tar                |     []     []                          [] []    |
     493     texinfo            |            []                    [] []          |
     494     tin                |            []                          []       |
    540495     unicode-han-tra... |                                                 |
    541496     unicode-transla... |                                                 |
    542      util-linux-ng      | [] []  []                       []          []  |
    543      vice               |    ()  ()                                       |
    544      vmm                |        []                                       |
    545      vorbis-tools       | []                           []                 |
    546      wastesedge         |    []                                           |
    547      wdiff              |        []                       []          []  |
    548      wget               | []     []                          []       []  |
    549      wyslij-po          |                                             []  |
    550      xchat              | []     []  []                   [] []       []  |
    551      xdg-user-dirs      | [] []  []  []                [] [] [] []    []  |
    552      xkeyboard-config   | [] []  []                    [] []          []  |
     497     util-linux-ng      |     [] []  []                       []          |
     498     vice               |        ()  ()                                   |
     499     vmm                |            []                                   |
     500     vorbis-tools       |     []                           []             |
     501     wastesedge         |        []                                       |
     502     wdiff              |            []                       []          |
     503     wget               |     []     []                          []       |
     504     wyslij-po          |                                                 |
     505     xchat              |     []     []  []                   [] []       |
     506     xdg-user-dirs      | []  [] []  []  []                [] [] [] []    |
     507     xkeyboard-config   | []  [] []  []                    [] []          |
    553508                        +-------------------------------------------------+
    554                           cs da  de  el en en_GB en_ZA eo es et eu fa fi
    555                           64 105 117 18  1   8     0   28 89 18 19  0 104
    556 
    557                           fr  ga gl gu he hi hr hu hy id  is it ja ka kn
    558                         +------------------------------------------------+
    559      a2ps               | []                          []        []       |
    560      aegis              | []                                 []          |
    561      ant-phone          | []                                 []          |
    562      anubis             | []                          []     []          |
    563      aspell             | []  []                      []     []          |
    564      bash               | []                          []        []       |
    565      bfd                | []                          []                 |
    566      bibshelf           | []  []                      []     []          |
    567      binutils           | []                          []                 |
    568      bison              | []  []                      []                 |
    569      bison-runtime      | []  []                      []     [] []       |
    570      bluez-pin          | []  []                [] [] []  []    []       |
    571      bombono-dvd        |                                                |
    572      buzztard           |                             []                 |
    573      cflow              |     []                      []                 |
    574      clisp              | []                                             |
    575      coreutils          | []  []                []    []     []          |
    576      cpio               | []  []                      []                 |
    577      cppi               | []                                             |
    578      cpplib             | []                          []                 |
    579      cryptsetup         | []                          []     []          |
    580      dfarc              | []                                 []          |
    581      dialog             | []  [] []                   []  [] [] []       |
    582      dico               |                                                |
    583      diffutils          | []  [] []    []       []    []     [] []       |
    584      dink               | []                                             |
    585      doodle             |     []                             []          |
    586      e2fsprogs          | []                          []                 |
    587      enscript           | []  []             []       []                 |
    588      exif               | []                          []  [] [] []       |
    589      fetchmail          | []                          []     [] []       |
    590      findutils          | []  []                []    []     []          |
    591      flex               | []  []                                         |
    592      freedink           | []                          []                 |
    593      gas                | []                          []                 |
    594      gawk               | []  []       []             []     () []       |
    595      gcal               | []                                             |
    596      gcc                |                             []                 |
    597      gettext-examples   | []  []                []    []     [] []       |
    598      gettext-runtime    | []  []                      []     [] []       |
    599      gettext-tools      | []                          []     [] []       |
    600      gip                | []  [] []                   []        []       |
    601      gjay               |                                                |
    602      gliv               | ()                                             |
    603      glunarclock        |     []                []    []                 |
    604      gnubiff            | ()                          []     ()          |
    605      gnucash            | ()           ()       ()           () []       |
    606      gnuedu             | []                                 []          |
    607      gnulib             | []  []                []           [] []       |
    608      gnunet             |                                                |
    609      gnunet-gtk         | []                                             |
    610      gnutls             | []                                 []          |
    611      gold               |                             []                 |
    612      gpe-aerial         | []                          []                 |
    613      gpe-beam           | []                          []        []       |
    614      gpe-bluetooth      |                             []     [] []       |
    615      gpe-calendar       |                                       []       |
    616      gpe-clock          | []                    []    []        []       |
    617      gpe-conf           | []                          []        []       |
    618      gpe-contacts       | []                          []        []       |
    619      gpe-edit           |                             []        []       |
    620      gpe-filemanager    |                       []    []        []       |
    621      gpe-go             | []                    []    []        []       |
    622      gpe-login          |                             []        []       |
    623      gpe-ownerinfo      | []                    []    []        []       |
    624      gpe-package        |                             []        []       |
    625      gpe-sketchbook     | []                          []        []       |
    626      gpe-su             | []     []             []    []        []       |
    627      gpe-taskmanager    | []                    []    []        []       |
    628      gpe-timesheet      | []  []                      []        []       |
    629      gpe-today          | []  [] []             []    []        []       |
    630      gpe-todo           |                             []        []       |
    631      gphoto2            | []                    []    []     [] []       |
    632      gprof              | []  []                      []                 |
    633      gpsdrive           |        []                   []     []          |
    634      gramadoir          | []  []                      []                 |
    635      grep               |                                    []          |
    636      grub               |                       []    []     []          |
    637      gsasl              | []  []                      []     []          |
    638      gss                | []  []                      []     []          |
    639      gst-plugins-bad    | []                    []    []     []          |
    640      gst-plugins-base   | []                    []    []     [] []       |
    641      gst-plugins-good   | []                    []    []     [] []       |
    642      gst-plugins-ugly   | []                    []    []     [] []       |
    643      gstreamer          | []                    []    []     []          |
    644      gtick              | []  []                      []     []          |
    645      gtkam              | []                    []    []     [] []       |
    646      gtkorphan          | []                          []     []          |
    647      gtkspell           | []  [] []             [] [] []     [] []       |
    648      gutenprint         | []                    []           []          |
    649      hello              |     []                      []                 |
    650      help2man           | []                                             |
    651      hylafax            |                             []                 |
    652      idutils            | []  []                []    []     []          |
    653      indent             | []  [] []             []    []     [] []       |
    654      iso_15924          | ()                          []     []          |
    655      iso_3166           | ()  [] [] [] [] [] [] []    []     [] []       |
    656      iso_3166_2         | ()                    []    []     []          |
    657      iso_4217           | ()                    []    []     [] []       |
    658      iso_639            | ()  []    []          []    []     [] []    [] |
    659      iso_639_3          | ()                                 []       [] |
    660      jwhois             | []                    []    []     []          |
    661      kbd                | []                          []                 |
    662      keytouch           | []  []                []    []     []          |
    663      keytouch-editor    |     []                []    []     []          |
    664      keytouch-keyboa... |     []                []    []     []          |
    665      klavaro            |        []             []                       |
    666      latrine            |                             []     []          |
    667      ld                 | []  []                      []                 |
    668      leafpad            | []  []       []       []    []     [] ()       |
    669      libc               | []     []                   []        []       |
    670      libexif            |                                                |
    671      libextractor       |                                                |
    672      libgnutls          | []                                 []          |
    673      libgpewidget       |     []                      []        []       |
    674      libgpg-error       | []                                 []          |
    675      libgphoto2         | []                                 [] []       |
    676      libgphoto2_port    | []                                 [] []       |
    677      libgsasl           | []  []                      []     []          |
    678      libiconv           | []  []                      []     [] []       |
    679      libidn             | []                          []     []          |
    680      lifelines          | ()                                             |
    681      liferea            | []                    []           [] []       |
    682      lilypond           | []                                             |
    683      linkdr             |              []    [] []           []          |
    684      lordsawar          |                                                |
    685      lprng              |                             []                 |
    686      lynx               | []                    []    []     [] []       |
    687      m4                 | []  [] []                   []        []       |
    688      mailfromd          |                                                |
    689      mailutils          | []                          []                 |
    690      make               | []  [] []    []    []       []     [] []       |
    691      man-db             |                             []     []          |
    692      man-db-manpages    |                             []                 |
    693      minicom            | []                    []    []        []       |
    694      mkisofs            | []                          []     []          |
    695      myserver           |                                                |
    696      nano               | []  [] []             []           []          |
    697      opcodes            | []  []                      []                 |
    698      parted             | []                          []     [] []       |
    699      pies               |                                                |
    700      popt               | []  [] []             []    []  [] [] []       |
    701      psmisc             | []                          []                 |
    702      pspp               |                                                |
    703      pwdutils           | []                          []                 |
    704      radius             | []                          []                 |
    705      recode             | []  [] []    []       []    []     []          |
    706      rosegarden         | ()                          ()     () ()       |
    707      rpm                |                             []        []       |
    708      rush               |                                                |
    709      sarg               | []                                             |
    710      screem             |                                    [] []       |
    711      scrollkeeper       |                       []    []     []          |
    712      sed                | []  [] []             []    []     [] []       |
    713      sharutils          | []  []                []    []     [] []       |
    714      shishi             | []                                             |
    715      skencil            | []                                             |
    716      solfege            | []     []                          []          |
    717      solfege-manual     | []     []                                      |
    718      soundtracker       | []                                 []          |
    719      sp                 | []                                    ()       |
    720      sysstat            | []                          []     [] []       |
    721      tar                | []  []                []    []     [] []       |
    722      texinfo            | []                          []     [] []       |
    723      tin                | []                                             |
    724      unicode-han-tra... |                                                |
    725      unicode-transla... | []  []                                         |
    726      util-linux-ng      | []                    []    []     [] []       |
    727      vice               | ()                    ()           ()          |
    728      vmm                | []                                             |
    729      vorbis-tools       |                             []                 |
    730      wastesedge         | ()                                 ()          |
    731      wdiff              |                                                |
    732      wget               | []  []             [] []    []     [] []       |
    733      wyslij-po          | []                          []                 |
    734      xchat              | []        []    []    []    []     [] []    [] |
    735      xdg-user-dirs      | []  [] [] [] []       []    []  [] [] []    [] |
    736      xkeyboard-config   | []                    []    []     []          |
    737                         +------------------------------------------------+
    738                           fr  ga gl gu he hi hr hu hy id  is it ja ka kn
    739                           121 53 20  4  8  2  5 53  2 120  5 83 66  0  4
     509                          crh cs da  de  el en en_GB en_ZA eo es et eu fa
     510                           5  64 105 117 18  1   8     0   28 89 18 19  0
     511
     512                          fi  fr  ga gl gu he hi hr hu hy id  is it ja ka kn
     513                        +----------------------------------------------------+
     514     a2ps               | []  []                          []        []       |
     515     aegis              |     []                                 []          |
     516     ant-phone          |     []                                 []          |
     517     anubis             | []  []                          []     []          |
     518     aspell             |     []  []                      []     []          |
     519     bash               | []  []                          []        []       |
     520     bfd                | []  []                          []                 |
     521     bibshelf           | []  []  []                      []     []          |
     522     binutils           | []  []                          []                 |
     523     bison              | []  []  []                      []                 |
     524     bison-runtime      | []  []  []                      []     [] []       |
     525     bluez-pin          | []  []  []                [] [] []  []    []       |
     526     bombono-dvd        | []                                                 |
     527     buzztard           |                                 []                 |
     528     cflow              | []      []                      []                 |
     529     clisp              |     []                                             |
     530     coreutils          |     []  []                []    []     []          |
     531     cpio               | []  []  []                      []                 |
     532     cppi               | []  []                                             |
     533     cpplib             | []  []                          []                 |
     534     cryptsetup         |     []                          []     []          |
     535     dfarc              | []  []                                 []          |
     536     dialog             |     []  [] []                   []  [] [] []       |
     537     dico               |                                                    |
     538     diffutils          | []  []  [] []    []       []    []     [] []       |
     539     dink               |     []                                             |
     540     doodle             |         []                             []          |
     541     e2fsprogs          |     []                          []                 |
     542     enscript           |     []  []             []       []                 |
     543     exif               | []  []                          []  [] [] []       |
     544     fetchmail          |     []                          []     [] []       |
     545     findutils          | []  []  []                []    []     []          |
     546     flex               | []  []  []                                         |
     547     freedink           | []  []                          []                 |
     548     gas                |     []                          []                 |
     549     gawk               |     []  []       []             []     () []       |
     550     gcal               |     []                                             |
     551     gcc                |                                 []                 |
     552     gettext-examples   | []  []  []                []    []     [] []       |
     553     gettext-runtime    | []  []  []                      []     [] []       |
     554     gettext-tools      |     []                          []     [] []       |
     555     gip                | []  []  [] []                   []        []       |
     556     gjay               | []                                                 |
     557     gliv               | []  ()                                             |
     558     glunarclock        | []      []                []    []                 |
     559     gnubiff            |     ()                          []     ()          |
     560     gnucash            | ()  ()           ()       ()           () []       |
     561     gnuedu             |     []                                 []          |
     562     gnulib             | []  []  []                []           [] []       |
     563     gnunet             |                                                    |
     564     gnunet-gtk         |     []                                             |
     565     gnutls             |     []                                 []          |
     566     gold               | []                              []                 |
     567     gpe-aerial         | []  []                          []                 |
     568     gpe-beam           | []  []                          []        []       |
     569     gpe-bluetooth      | []                              []     [] []       |
     570     gpe-calendar       | []                                        []       |
     571     gpe-clock          | []  []                    []    []        []       |
     572     gpe-conf           | []  []                          []        []       |
     573     gpe-contacts       | []  []                          []        []       |
     574     gpe-edit           | []                              []        []       |
     575     gpe-filemanager    | []                        []    []        []       |
     576     gpe-go             | []  []                    []    []        []       |
     577     gpe-login          | []                              []        []       |
     578     gpe-ownerinfo      | []  []                    []    []        []       |
     579     gpe-package        | []                              []        []       |
     580     gpe-sketchbook     | []  []                          []        []       |
     581     gpe-su             | []  []     []             []    []        []       |
     582     gpe-taskmanager    | []  []                    []    []        []       |
     583     gpe-timesheet      | []  []  []                      []        []       |
     584     gpe-today          | []  []  [] []             []    []        []       |
     585     gpe-todo           | []                              []        []       |
     586     gphoto2            | []  []                    []    []     [] []       |
     587     gprof              | []  []  []                      []                 |
     588     gpsdrive           |            []                   []     []          |
     589     gramadoir          |     []  []                      []                 |
     590     grep               | []                                     []          |
     591     grub               | []                        []    []     []          |
     592     gsasl              | []  []  []                      []     []          |
     593     gss                | []  []  []                      []     []          |
     594     gst-plugins-bad    | []  []                    []    []     [] []       |
     595     gst-plugins-base   | []  []                    []    []     [] []       |
     596     gst-plugins-good   | []  []                    []    []     [] []       |
     597     gst-plugins-ugly   | []  []                    []    []     [] []       |
     598     gstreamer          | []  []                    []    []     []          |
     599     gtick              | []  []  []                      []     []          |
     600     gtkam              |     []                    []    []     [] []       |
     601     gtkorphan          |     []                          []     []          |
     602     gtkspell           | []  []  [] []             [] [] []     [] []       |
     603     gutenprint         | []  []                    []           []          |
     604     hello              | []      []                      []                 |
     605     help2man           | []  []                                             |
     606     hylafax            |                                 []                 |
     607     idutils            | []  []  []                []    []     []          |
     608     indent             | []  []  [] []             []    []     [] []       |
     609     iso_15924          | []  ()                          []     []          |
     610     iso_3166           | []  ()  [] [] [] [] [] [] []    []     [] []       |
     611     iso_3166_2         |     ()                    []    []     []          |
     612     iso_4217           | []  ()                    []    []     [] []       |
     613     iso_639            | []  ()  []    []          []    []     [] []    [] |
     614     iso_639_3          |     ()                                 []       [] |
     615     jwhois             | []  []                    []    []     []          |
     616     kbd                |     []                          []                 |
     617     keytouch           | []  []  []                []    []     []          |
     618     keytouch-editor    | []      []                []    []     []          |
     619     keytouch-keyboa... | []      []                []    []     []          |
     620     klavaro            |            []             []                       |
     621     latrine            | []                              []     []          |
     622     ld                 | []  []  []                      []                 |
     623     leafpad            | []  []  []       []       []    []     [] ()       |
     624     libc               | []  []     []                   []        []       |
     625     libexif            |                                        []          |
     626     libextractor       |                                                    |
     627     libgnutls          |     []                                 []          |
     628     libgpewidget       | []      []                      []        []       |
     629     libgpg-error       |     []                                 []          |
     630     libgphoto2         |     []                                 [] []       |
     631     libgphoto2_port    |     []                                 [] []       |
     632     libgsasl           | []  []  []                      []     []          |
     633     libiconv           | []  []  []                      []     [] []       |
     634     libidn             | []  []                          []     []          |
     635     lifelines          |     ()                                             |
     636     liferea            |     []                    []           [] []       |
     637     lilypond           | []  []                                             |
     638     linkdr             | []               []    [] []           []          |
     639     lordsawar          |                                                    |
     640     lprng              |                                 []                 |
     641     lynx               |     []                    []    []     [] []       |
     642     m4                 | []  []  [] []                   []        []       |
     643     mailfromd          |                                                    |
     644     mailutils          |     []                          []                 |
     645     make               | []  []  [] []    []    []       []     [] []       |
     646     man-db             |                                 []     []          |
     647     man-db-manpages    |                                 []                 |
     648     minicom            | []  []                    []    []        []       |
     649     mkisofs            | []  []                          []     []          |
     650     myserver           |                                                    |
     651     nano               | []  []  [] []             []           []          |
     652     opcodes            | []  []  []                      []                 |
     653     parted             |     []                          []     [] []       |
     654     pies               |                                                    |
     655     popt               | []  []  [] []             []    []  [] [] []       |
     656     psmisc             | []  []                          []                 |
     657     pspp               |                                                    |
     658     pwdutils           |     []                          []                 |
     659     radius             |     []                          []                 |
     660     recode             | []  []  [] []    []       []    []     []          |
     661     rosegarden         | ()  ()                          ()     () ()       |
     662     rpm                |                                 []        []       |
     663     rush               |                                                    |
     664     sarg               |     []                                             |
     665     screem             |                                        [] []       |
     666     scrollkeeper       | []                        []    []     []          |
     667     sed                | []  []  [] []             []    []     [] []       |
     668     sharutils          | []  []  []                []    []     [] []       |
     669     shishi             |     []                                             |
     670     skencil            |     []                                             |
     671     solfege            | []  []     []                          []          |
     672     solfege-manual     |     []     []                                      |
     673     soundtracker       |     []                                 []          |
     674     sp                 |     []                                    ()       |
     675     sysstat            | []  []                          []     [] []       |
     676     tar                | []  []  []                []    []     [] []       |
     677     texinfo            |     []                          []     [] []       |
     678     tin                |     []                                             |
     679     unicode-han-tra... |                                                    |
     680     unicode-transla... |     []  []                                         |
     681     util-linux-ng      | []  []                    []    []     [] []       |
     682     vice               |     ()                    ()           ()          |
     683     vmm                |     []                                             |
     684     vorbis-tools       |                                 []                 |
     685     wastesedge         |     ()                                 ()          |
     686     wdiff              | []                                                 |
     687     wget               | []  []  []             [] []    []     [] []       |
     688     wyslij-po          | []  []                          []                 |
     689     xchat              | []  []        []    []    []    []     [] []    [] |
     690     xdg-user-dirs      | []  []  [] [] [] [] []    []    []  [] [] []    [] |
     691     xkeyboard-config   | []  []                    []    []     []          |
     692                        +----------------------------------------------------+
     693                          fi  fr  ga gl gu he hi hr hu hy id  is it ja ka kn
     694                          105 121 53 20  4  8  3  5 53  2 120  5 84 67  0  4
    740695
    741696                          ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
     
    821776     gsasl              |                                               |
    822777     gss                |                                               |
    823      gst-plugins-bad    |                []                []           |
     778     gst-plugins-bad    |             [] []                [] []        |
    824779     gst-plugins-base   |             [] []                             |
    825780     gst-plugins-good   |                []                []           |
     
    921876                        +-----------------------------------------------+
    922877                          ko ku ky lg lt lv mk ml mn mr ms mt nb nds ne
    923                           20  5 10  1 12 48  4  2  2  4 24 10 19  3   1
     878                          20  5 10  1 13 48  4  2  2  4 24 10 20  3   1
    924879
    925880                          nl  nn or pa pl  ps pt pt_BR ro ru rw sk sl sq sr
     
    1005960     gsasl              | []           []                       []       [] |
    1006961     gss                |              []              []       []          |
    1007      gst-plugins-bad    | []           []         []      []    []          |
     962     gst-plugins-bad    | []           []         []      []    []    []    |
    1008963     gst-plugins-base   | []           []         []      []    []          |
    1009964     gst-plugins-good   | []           []         []      []    []          |
     
    1042997     libgpg-error       |              []              []                   |
    1043998     libgphoto2         | []           []                                   |
    1044      libgphoto2_port    | []           []                 []    []          |
     999     libgphoto2_port    | []           []         []      []    []          |
    10451000     libgsasl           | []           []              []       []       [] |
    10461001     libiconv           | []           []                       [] []    [] |
     
    11021057     xchat              | []        [] []     []          []    [] [] [] [] |
    11031058     xdg-user-dirs      | []  [] [] [] []  [] []  []   [] []    [] [] [] [] |
    1104      xkeyboard-config   | []           []                 []    [] []       |
     1059     xkeyboard-config   | []           []                 []                |
    11051060                        +---------------------------------------------------+
    11061061                          nl  nn or pa pl  ps pt pt_BR ro ru rw sk sl sq sr
    1107                           135 10  4  7 105  1 29  61   47 91  3 55 47  8 37
     1062                          135 10  4  7 105  1 29  62   47 91  3 54 46  9 37
    11081063
    11091064                          sv  sw ta te tg th tr uk vi  wa zh_CN zh_HK zh_TW
     
    11141069     anubis             | []                 [] [] []                       | 15
    11151070     aspell             |                       [] []  []                   | 20
    1116      bash               | []                       []                       | 11
     1071     bash               | []                    [] []                       | 12
    11171072     bfd                |                          []                       |  6
    11181073     bibshelf           | []                       []      []               | 16
     
    11281083     cpio               | []                 [] [] []      []          []   | 13
    11291084     cppi               |                       [] []                       |  5
    1130      cpplib             | []                 [] [] []      []          []   | 13
     1085     cpplib             | []                 [] [] []      []          []   | 14
    11311086     cryptsetup         | []                       []                       |  7
    11321087     dfarc              |                          []                       |  9
     
    11481103     gcc                | []                 []            []               |  7
    11491104     gettext-examples   | []                 [] [] []      []    []    []   | 34
    1150      gettext-runtime    | []                 [] [] []      []    []    []   | 30
     1105     gettext-runtime    | []                 [] [] []      []    []    []   | 29
    11511106     gettext-tools      | []                 [] [] []      []          []   | 22
    11521107     gip                | []                       []      []          []   | 22
     
    11551110     glunarclock        | []                       []  []  []          []   | 19
    11561111     gnubiff            | []                       []                       |  4
    1157      gnucash            |                    () [] ()                  ()   |  9
     1112     gnucash            |                    () [] ()      []          ()   | 10
    11581113     gnuedu             |                          []                  []   |  7
    11591114     gnulib             | []                    [] []      []               | 16
     
    11891144     gsasl              | []                       []      []          []   | 14
    11901145     gss                | []                       []      []               | 11
    1191      gst-plugins-bad    | []                 []    []      []               | 22
     1146     gst-plugins-bad    | []                 []    []      []               | 26
    11921147     gst-plugins-base   | []                 [] [] []      []               | 24
    1193      gst-plugins-good   | []                 [] [] []      []               | 25
     1148     gst-plugins-good   | []                 []    []      []               | 24
    11941149     gst-plugins-ugly   | []                 [] [] []      []               | 29
    11951150     gstreamer          | []                    [] []      []               | 22
     
    12201175     leafpad            | []                 [] [] []      []          []   | 33
    12211176     libc               | []                 []    []      []          []   | 21
    1222      libexif            |                          []      ()               |  6
     1177     libexif            |                          []      ()               |  7
    12231178     libextractor       |                          []                       |  1
    12241179     libgnutls          | []                       []      []               |  9
     
    12261181     libgpg-error       | []                       []      []               |  9
    12271182     libgphoto2         |                       [] []                       |  8
    1228      libgphoto2_port    | []                    [] []                  []   | 13
     1183     libgphoto2_port    | []                    [] []                  []   | 14
    12291184     libgsasl           | []                       []      []               | 13
    12301185     libiconv           | []                       []  []  []               | 21
     
    12721227     sysstat            |                          []      []               | 15
    12731228     tar                | []                 [] [] []      []          []   | 23
    1274      texinfo            | []                 []    []      []               | 16
     1229     texinfo            | []                 [] [] []      []               | 17
    12751230     tin                |                                                   |  4
    12761231     unicode-han-tra... |                                                   |  0
     
    12851240     wyslij-po          |                       [] []                       |  8
    12861241     xchat              | []              []    [] []      []          []   | 36
    1287      xdg-user-dirs      | []     []       [] [] [] []      []    []    []   | 60
    1288      xkeyboard-config   | []                 [] [] []                       | 25
     1242     xdg-user-dirs      | []     [] []    [] [] [] []      []    []    []   | 63
     1243     xkeyboard-config   | []                    [] []                       | 22
    12891244                        +---------------------------------------------------+
    1290        84 teams           sv  sw ta te tg th tr uk vi  wa zh_CN zh_HK zh_TW
    1291       178 domains         119  1  3  2  0 10 66 50 155 17  97     7    41    2610
     1245       85 teams           sv  sw ta te tg th tr uk vi  wa zh_CN zh_HK zh_TW
     1246      178 domains         119  1  3  3  0 10 65 51 155 17  98     7    41    2618
    12921247
    12931248   Some counters in the preceding matrix are higher than the number of
     
    13021257distribution.
    13031258
    1304    If May 2010 seems to be old, you may fetch a more recent copy of
     1259   If June 2010 seems to be old, you may fetch a more recent copy of
    13051260this `ABOUT-NLS' file on most GNU archive sites.  The most up-to-date
    13061261matrix with full percentage details can be found at
    13071262`http://translationproject.org/extra/matrix.html'.
    13081263
    1309 1.6 Using `gettext' in new packages
     12641.5 Using `gettext' in new packages
    13101265===================================
    13111266
  • TabularUnified xz/vendor/current/ChangeLog

    r1791 r1993  
     1commit 3d566cd519017eee1a400e7961ff14058dfaf33c
     2Author: Lasse Collin <lasse.collin@tukaani.org>
     3Date:   2016-12-30 13:26:36 +0200
     4
     5    Bump version and soname for 5.2.3.
     6
     7 src/liblzma/Makefile.am        | 2 +-
     8 src/liblzma/api/lzma/version.h | 2 +-
     9 2 files changed, 2 insertions(+), 2 deletions(-)
     10
     11commit 053e624fe33795e779ff736f16ce44a129c829b5
     12Author: Lasse Collin <lasse.collin@tukaani.org>
     13Date:   2016-12-30 13:25:10 +0200
     14
     15    Update NEWS for 5.2.3.
     16
     17 NEWS | 39 +++++++++++++++++++++++++++++++++++++++
     18 1 file changed, 39 insertions(+)
     19
     20commit cae412b2b77d7fd88d187ed7659331709311f80d
     21Author: Lasse Collin <lasse.collin@tukaani.org>
     22Date:   2015-04-01 14:45:25 +0300
     23
     24    xz: Fix the Capsicum rights on user_abort_pipe.
     25
     26 src/xz/file_io.c | 6 +++++-
     27 1 file changed, 5 insertions(+), 1 deletion(-)
     28
     29commit 9ccbae41000572193b9a09e7102f9e84dc6d96de
     30Author: Lasse Collin <lasse.collin@tukaani.org>
     31Date:   2016-12-28 21:05:22 +0200
     32
     33    Mention potential sandboxing bugs in INSTALL.
     34
     35 INSTALL | 5 ++++-
     36 1 file changed, 4 insertions(+), 1 deletion(-)
     37
     38commit e013a337d3de77cce24360dffe956ea2339489b6
     39Author: Lasse Collin <lasse.collin@tukaani.org>
     40Date:   2016-11-21 20:24:50 +0200
     41
     42    liblzma: Avoid multiple definitions of lzma_coder structures.
     43   
     44    Only one definition was visible in a translation unit.
     45    It avoided a few casts and temp variables but seems that
     46    this hack doesn't work with link-time optimizations in compilers
     47    as it's not C99/C11 compliant.
     48   
     49    Fixes:
     50    http://www.mail-archive.com/xz-devel@tukaani.org/msg00279.html
     51
     52 src/liblzma/common/alone_decoder.c             |  44 +++++----
     53 src/liblzma/common/alone_encoder.c             |  34 ++++---
     54 src/liblzma/common/auto_decoder.c              |  35 ++++---
     55 src/liblzma/common/block_decoder.c             |  41 ++++----
     56 src/liblzma/common/block_encoder.c             |  40 ++++----
     57 src/liblzma/common/common.h                    |  18 ++--
     58 src/liblzma/common/index_decoder.c             |  33 ++++---
     59 src/liblzma/common/index_encoder.c             |  16 ++--
     60 src/liblzma/common/stream_decoder.c            |  50 +++++-----
     61 src/liblzma/common/stream_encoder.c            |  56 ++++++-----
     62 src/liblzma/common/stream_encoder_mt.c         | 124 ++++++++++++++-----------
     63 src/liblzma/delta/delta_common.c               |  25 ++---
     64 src/liblzma/delta/delta_decoder.c              |   6 +-
     65 src/liblzma/delta/delta_encoder.c              |  12 ++-
     66 src/liblzma/delta/delta_private.h              |   4 +-
     67 src/liblzma/lz/lz_decoder.c                    |  60 ++++++------
     68 src/liblzma/lz/lz_decoder.h                    |  13 ++-
     69 src/liblzma/lz/lz_encoder.c                    |  57 +++++++-----
     70 src/liblzma/lz/lz_encoder.h                    |   9 +-
     71 src/liblzma/lzma/lzma2_decoder.c               |  32 ++++---
     72 src/liblzma/lzma/lzma2_encoder.c               |  51 +++++-----
     73 src/liblzma/lzma/lzma_decoder.c                |  27 +++---
     74 src/liblzma/lzma/lzma_encoder.c                |  29 +++---
     75 src/liblzma/lzma/lzma_encoder.h                |   9 +-
     76 src/liblzma/lzma/lzma_encoder_optimum_fast.c   |   3 +-
     77 src/liblzma/lzma/lzma_encoder_optimum_normal.c |  23 ++---
     78 src/liblzma/lzma/lzma_encoder_private.h        |   6 +-
     79 src/liblzma/simple/arm.c                       |   2 +-
     80 src/liblzma/simple/armthumb.c                  |   2 +-
     81 src/liblzma/simple/ia64.c                      |   2 +-
     82 src/liblzma/simple/powerpc.c                   |   2 +-
     83 src/liblzma/simple/simple_coder.c              |  61 ++++++------
     84 src/liblzma/simple/simple_private.h            |  12 +--
     85 src/liblzma/simple/sparc.c                     |   2 +-
     86 src/liblzma/simple/x86.c                       |  15 +--
     87 35 files changed, 532 insertions(+), 423 deletions(-)
     88
     89commit 8e0f1af3dcaec00a3879cce8ad7441edc6359d1c
     90Author: Lasse Collin <lasse.collin@tukaani.org>
     91Date:   2016-12-26 20:50:25 +0200
     92
     93    Document --enable-sandbox configure option in INSTALL.
     94
     95 INSTALL | 25 +++++++++++++++++++++++++
     96 1 file changed, 25 insertions(+)
     97
     98commit ce2542d220de06acd618fd9f5c0a6683029fb4eb
     99Author: Lasse Collin <lasse.collin@tukaani.org>
     100Date:   2015-03-31 22:19:34 +0300
     101
     102    xz: Add support for sandboxing with Capsicum (disabled by default).
     103   
     104    In the v5.2 branch this feature is considered experimental
     105    and thus disabled by default.
     106   
     107    The sandboxing is used conditionally as described in main.c.
     108    This isn't optimal but it was much easier to implement than
     109    a full sandboxing solution and it still covers the most common
     110    use cases where xz is writing to standard output. This should
     111    have practically no effect on performance even with small files
     112    as fork() isn't needed.
     113   
     114    C and locale libraries can open files as needed. This has been
     115    fine in the past, but it's a problem with things like Capsicum.
     116    io_sandbox_enter() tries to ensure that various locale-related
     117    files have been loaded before cap_enter() is called, but it's
     118    possible that there are other similar problems which haven't
     119    been seen yet.
     120   
     121    Currently Capsicum is available on FreeBSD 10 and later
     122    and there is a port to Linux too.
     123   
     124    Thanks to Loganaden Velvindron for help.
     125
     126 configure.ac       | 41 +++++++++++++++++++++++++++
     127 src/xz/Makefile.am |  2 +-
     128 src/xz/file_io.c   | 81 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
     129 src/xz/file_io.h   |  6 ++++
     130 src/xz/main.c      | 18 ++++++++++++
     131 src/xz/private.h   |  4 +++
     132 6 files changed, 151 insertions(+), 1 deletion(-)
     133
     134commit 3ca1d5e6320111043e19434da881065fadafa0e4
     135Author: Lasse Collin <lasse.collin@tukaani.org>
     136Date:   2015-03-31 21:12:30 +0300
     137
     138    Fix bugs and otherwise improve ax_check_capsicum.m4.
     139   
     140    AU_ALIAS was removed because the new version is incompatible
     141    with the old version.
     142   
     143    It no longer checks for <sys/capability.h> separately.
     144    It's enough to test for it as part of AC_CHECK_DECL.
     145    The defines HAVE_CAPSICUM_SYS_CAPSICUM_H and
     146    HAVE_CAPSICUM_SYS_CAPABILITY_H were removed as unneeded.
     147    HAVE_SYS_CAPSICUM_H from AC_CHECK_HEADERS is enough.
     148   
     149    It no longer does a useless search for the Capsicum library
     150    if the header wasn't found.
     151   
     152    Fixed a bug in ACTION-IF-FOUND (the first argument). Specifying
     153    the argument omitted the default action but the given action
     154    wasn't used instead.
     155   
     156    AC_DEFINE([HAVE_CAPSICUM]) is now always called when Capsicum
     157    support is found. Previously it was part of the default
     158    ACTION-IF-FOUND which a custom action would override. Now
     159    the default action only prepends ${CAPSICUM_LIB} to LIBS.
     160   
     161    The documentation was updated.
     162   
     163    Since there as no serial number, "#serial 2" was added.
     164
     165 m4/ax_check_capsicum.m4 | 103 ++++++++++++++++++++++++------------------------
     166 1 file changed, 51 insertions(+), 52 deletions(-)
     167
     168commit 5f3a742b64197fe8bedb6f05fc6ce5d177d11145
     169Author: Lasse Collin <lasse.collin@tukaani.org>
     170Date:   2015-03-31 19:20:24 +0300
     171
     172    Add m4/ax_check_capsicum.m4 for detecting Capsicum support.
     173   
     174    The file was loaded from this web page:
     175    https://github.com/google/capsicum-test/blob/dev/autoconf/m4/ax_check_capsicum.m4
     176   
     177    Thanks to Loganaden Velvindron for pointing it out for me.
     178
     179 m4/ax_check_capsicum.m4 | 86 +++++++++++++++++++++++++++++++++++++++++++++++++
     180 1 file changed, 86 insertions(+)
     181
     182commit d74377e62b4c649e40294dd441de72c0f092e67c
     183Author: Lasse Collin <lasse.collin@tukaani.org>
     184Date:   2015-10-12 20:29:09 +0300
     185
     186    liblzma: Fix a memory leak in error path of lzma_index_dup().
     187   
     188    lzma_index_dup() calls index_dup_stream() which, in case of
     189    an error, calls index_stream_end() to free memory allocated
     190    by index_stream_init(). However, it illogically didn't
     191    actually free the memory. To make it logical, the tree
     192    handling code was modified a bit in addition to changing
     193    index_stream_end().
     194   
     195    Thanks to Evan Nemerson for the bug report.
     196
     197 src/liblzma/common/index.c | 18 +++++++++---------
     198 1 file changed, 9 insertions(+), 9 deletions(-)
     199
     200commit f580732216dcf971f3f006fe8e01cd4979e1d964
     201Author: Lasse Collin <lasse.collin@tukaani.org>
     202Date:   2016-10-24 18:53:25 +0300
     203
     204    Update THANKS.
     205
     206 THANKS | 1 +
     207 1 file changed, 1 insertion(+)
     208
     209commit 88d7a7fd153bf1355cdf798ffdac7443d0169afc
     210Author: Lasse Collin <lasse.collin@tukaani.org>
     211Date:   2016-10-24 18:51:36 +0300
     212
     213    tuklib_cpucores: Add support for sched_getaffinity().
     214   
     215    It's available in glibc (GNU/Linux, GNU/kFreeBSD). It's better
     216    than sysconf(_SC_NPROCESSORS_ONLN) because sched_getaffinity()
     217    gives the number of cores available to the process instead of
     218    the total number of cores online.
     219   
     220    As a side effect, this commit fixes a bug on GNU/kFreeBSD where
     221    configure would detect the FreeBSD-specific cpuset_getaffinity()
     222    but it wouldn't actually work because on GNU/kFreeBSD it requires
     223    using -lfreebsd-glue when linking. Now the glibc-specific function
     224    will be used instead.
     225   
     226    Thanks to Sebastian Andrzej Siewior for the original patch
     227    and testing.
     228
     229 m4/tuklib_cpucores.m4        | 30 +++++++++++++++++++++++++++++-
     230 src/common/tuklib_cpucores.c |  9 +++++++++
     231 2 files changed, 38 insertions(+), 1 deletion(-)
     232
     233commit 51baf684376903dbeddd840582bfdf9fa91b311b
     234Author: Lasse Collin <lasse.collin@tukaani.org>
     235Date:   2016-06-30 20:27:36 +0300
     236
     237    xz: Fix copying of timestamps on Windows.
     238   
     239    xz used to call utime() on Windows, but its result gets lost
     240    on close(). Using _futime() seems to work.
     241   
     242    Thanks to Martok for reporting the bug:
     243    http://www.mail-archive.com/xz-devel@tukaani.org/msg00261.html
     244
     245 configure.ac     |  2 +-
     246 src/xz/file_io.c | 18 ++++++++++++++++++
     247 2 files changed, 19 insertions(+), 1 deletion(-)
     248
     249commit 1ddc479851139d6e8202e5835421bfe6578d9e07
     250Author: Lasse Collin <lasse.collin@tukaani.org>
     251Date:   2016-06-16 22:46:02 +0300
     252
     253    xz: Silence warnings from -Wlogical-op.
     254   
     255    Thanks to Evan Nemerson.
     256
     257 src/xz/file_io.c | 12 ++++++++++--
     258 1 file changed, 10 insertions(+), 2 deletions(-)
     259
     260commit be647ff5ed5a1c244a65722af6ce250259f3b14a
     261Author: Lasse Collin <lasse.collin@tukaani.org>
     262Date:   2016-04-10 20:55:49 +0300
     263
     264    Build: Fix = to += for xz_SOURCES in src/xz/Makefile.am.
     265   
     266    Thanks to Christian Kujau.
     267
     268 src/xz/Makefile.am | 2 +-
     269 1 file changed, 1 insertion(+), 1 deletion(-)
     270
     271commit fb6d50c15343831f35305982cefa82053099191d
     272Author: Lasse Collin <lasse.collin@tukaani.org>
     273Date:   2016-04-10 20:54:17 +0300
     274
     275    Build: Bump GNU Gettext version requirement to 0.19.
     276   
     277    It silences a few warnings and most people probably have
     278    0.19 even on stable distributions.
     279   
     280    Thanks to Christian Kujau.
     281
     282 configure.ac | 2 +-
     283 1 file changed, 1 insertion(+), 1 deletion(-)
     284
     285commit 74f8dad9f912a2993768d93d108ea2b0b2c196e0
     286Author: Lasse Collin <lasse.collin@tukaani.org>
     287Date:   2016-03-13 20:21:49 +0200
     288
     289    liblzma: Disable external SHA-256 by default.
     290   
     291    This is the sane thing to do. The conflict with OpenSSL
     292    on some OSes and especially that the OS-provided versions
     293    can be significantly slower makes it clear that it was
     294    a mistake to have the external SHA-256 support enabled by
     295    default.
     296   
     297    Those who want it can now pass --enable-external-sha256 to
     298    configure. INSTALL was updated with notes about OSes where
     299    this can be a bad idea.
     300   
     301    The SHA-256 detection code in configure.ac had some bugs that
     302    could lead to a build failure in some situations. These were
     303    fixed, although it doesn't matter that much now that the
     304    external SHA-256 is disabled by default.
     305   
     306    MINIX >= 3.2.0 uses NetBSD's libc and thus has SHA256_Init
     307    in libc instead of libutil. Support for the libutil version
     308    was removed.
     309
     310 INSTALL                   | 36 ++++++++++++++++++++++
     311 configure.ac              | 76 +++++++++++++++++++++++------------------------
     312 src/liblzma/check/check.h | 16 ++++------
     313 3 files changed, 79 insertions(+), 49 deletions(-)
     314
     315commit ea7f6ff04cb5bb1498088eb09960a4c3f13dfe39
     316Author: Lasse Collin <lasse.collin@tukaani.org>
     317Date:   2016-03-10 20:27:05 +0200
     318
     319    Update THANKS.
     320
     321 THANKS | 1 +
     322 1 file changed, 1 insertion(+)
     323
     324commit d0e018016b311232e82d9a98dc68f1e3dabce794
     325Author: Lasse Collin <lasse.collin@tukaani.org>
     326Date:   2016-03-10 20:26:49 +0200
     327
     328    Build: Avoid SHA256_Init on FreeBSD and MINIX 3.
     329   
     330    On FreeBSD 10 and older, SHA256_Init from libmd conflicts
     331    with libcrypto from OpenSSL. The OpenSSL version has
     332    different sizeof(SHA256_CTX) and it can cause weird
     333    problems if wrong SHA256_Init gets used.
     334   
     335    Looking at the source, MINIX 3 seems to have a similar issue but
     336    I'm not sure. To be safe, I disabled SHA256_Init on MINIX 3 too.
     337   
     338    NetBSD has SHA256_Init in libc and they had a similar problem,
     339    but they already fixed it in 2009.
     340   
     341    Thanks to Jim Wilcoxson for the bug report that helped
     342    in finding the problem.
     343
     344 configure.ac | 27 +++++++++++++++++++++------
     345 1 file changed, 21 insertions(+), 6 deletions(-)
     346
     347commit 5daae123915f32a4ed6dc948b831533c2d1beec3
     348Author: Lasse Collin <lasse.collin@tukaani.org>
     349Date:   2015-11-08 20:16:10 +0200
     350
     351    tuklib_physmem: Hopefully silence a warning on Windows.
     352
     353 src/common/tuklib_physmem.c | 3 ++-
     354 1 file changed, 2 insertions(+), 1 deletion(-)
     355
     356commit 491acc406e098167ccb7fce0728b94c2f32cff9f
     357Author: Lasse Collin <lasse.collin@tukaani.org>
     358Date:   2015-11-04 23:17:43 +0200
     359
     360    Update THANKS.
     361
     362 THANKS | 1 +
     363 1 file changed, 1 insertion(+)
     364
     365commit 8173ff8790ad3502d04e1c07d014cb84a3b8187b
     366Author: Lasse Collin <lasse.collin@tukaani.org>
     367Date:   2015-11-04 23:14:00 +0200
     368
     369    liblzma: Make Valgrind happier with optimized (gcc -O2) liblzma.
     370   
     371    When optimizing, GCC can reorder code so that an uninitialized
     372    value gets used in a comparison, which makes Valgrind unhappy.
     373    It doesn't happen when compiled with -O0, which I tend to use
     374    when running Valgrind.
     375   
     376    Thanks to Rich Prohaska. I remember this being mentioned long
     377    ago by someone else but nothing was done back then.
     378
     379 src/liblzma/lz/lz_encoder.c | 4 ++++
     380 1 file changed, 4 insertions(+)
     381
     382commit 013de2b5ab8094d2c82a2771f3d143eeb656eda9
     383Author: Lasse Collin <lasse.collin@tukaani.org>
     384Date:   2015-11-03 20:55:45 +0200
     385
     386    liblzma: Rename lzma_presets.c back to lzma_encoder_presets.c.
     387   
     388    It would be too annoying to update other build systems
     389    just because of this.
     390
     391 src/liblzma/lzma/Makefile.inc                               | 2 +-
     392 src/liblzma/lzma/{lzma_presets.c => lzma_encoder_presets.c} | 2 +-
     393 2 files changed, 2 insertions(+), 2 deletions(-)
     394
     395commit a322f70ad96de88968c2c36e6a36bc08ae30bd20
     396Author: Lasse Collin <lasse.collin@tukaani.org>
     397Date:   2015-11-03 20:47:07 +0200
     398
     399    Build: Disable xzdec, lzmadec, and lzmainfo when they cannot be built.
     400   
     401    They all need decoder support and if that isn't available,
     402    there's no point trying to build them.
     403
     404 configure.ac | 3 +++
     405 1 file changed, 3 insertions(+)
     406
     407commit 8ea49606cf6427e32319de7693eca9e43f1c8ad6
     408Author: Lasse Collin <lasse.collin@tukaani.org>
     409Date:   2015-11-03 20:35:19 +0200
     410
     411    Build: Simplify $enable_{encoders,decoders} usage a bit.
     412
     413 configure.ac | 6 ++++--
     414 1 file changed, 4 insertions(+), 2 deletions(-)
     415
     416commit 42131a25e52bfe400acfa7df93469a96bb78bb78
     417Author: Lasse Collin <lasse.collin@tukaani.org>
     418Date:   2015-11-03 20:31:31 +0200
     419
     420    Windows/MSVC: Update config.h.
     421
     422 windows/config.h | 6 ++++++
     423 1 file changed, 6 insertions(+)
     424
     425commit e9184e87cc989d14c7413e6adb3eca98f6ae0290
     426Author: Lasse Collin <lasse.collin@tukaani.org>
     427Date:   2015-11-03 20:29:58 +0200
     428
     429    DOS: Update config.h.
     430
     431 dos/config.h | 6 ++++++
     432 1 file changed, 6 insertions(+)
     433
     434commit 2296778f3c9a1e3a8699973b09dd3610b8baa402
     435Author: Lasse Collin <lasse.collin@tukaani.org>
     436Date:   2015-11-03 20:29:33 +0200
     437
     438    xz: Make xz buildable even when encoders or decoders are disabled.
     439   
     440    The patch is quite long but it's mostly about adding new #ifdefs
     441    to omit code when encoders or decoders have been disabled.
     442   
     443    This adds two new #defines to config.h: HAVE_ENCODERS and
     444    HAVE_DECODERS.
     445
     446 configure.ac       |  4 ++++
     447 src/xz/Makefile.am |  8 ++++++--
     448 src/xz/args.c      | 16 ++++++++++++++++
     449 src/xz/coder.c     | 33 +++++++++++++++++++++++++--------
     450 src/xz/main.c      |  9 +++++++--
     451 src/xz/private.h   |  5 ++++-
     452 6 files changed, 62 insertions(+), 13 deletions(-)
     453
     454commit 97a3109281e475d9cf1b5095237d672fa0ad25e5
     455Author: Lasse Collin <lasse.collin@tukaani.org>
     456Date:   2015-11-03 18:06:40 +0200
     457
     458    Build: Build LZMA1/2 presets also when only decoder is wanted.
     459   
     460    People shouldn't rely on the presets when decoding raw streams,
     461    but xz uses the presets as the starting point for raw decoder
     462    options anyway.
     463   
     464    lzma_encocder_presets.c was renamed to lzma_presets.c to
     465    make it clear it's not used solely by the encoder code.
     466
     467 src/liblzma/lzma/Makefile.inc                               | 6 +++++-
     468 src/liblzma/lzma/{lzma_encoder_presets.c => lzma_presets.c} | 3 ++-
     469 2 files changed, 7 insertions(+), 2 deletions(-)
     470
     471commit dc6b78d7f0f6fe43e9d4215146e8581feb8090e7
     472Author: Lasse Collin <lasse.collin@tukaani.org>
     473Date:   2015-11-03 17:54:48 +0200
     474
     475    Build: Fix configure to handle LZMA1 dependency with LZMA2.
     476   
     477    Now it gives an error if LZMA1 encoder/decoder is missing
     478    when LZMA2 encoder/decoder was requested. Even better would
     479    be LZMA2 implicitly enabling LZMA1 but it would need more code.
     480
     481 configure.ac | 5 -----
     482 1 file changed, 5 deletions(-)
     483
     484commit 46d76c9cd3cb26a31f5ae6c3a8bbcf38e6da1add
     485Author: Lasse Collin <lasse.collin@tukaani.org>
     486Date:   2015-11-03 17:41:54 +0200
     487
     488    Build: Don't omit lzma_cputhreads() unless using --disable-threads.
     489   
     490    Previously it was omitted if encoders were disabled
     491    with --disable-encoders. It didn't make sense and
     492    it also broke the build.
     493
     494 src/liblzma/common/Makefile.inc | 5 ++++-
     495 1 file changed, 4 insertions(+), 1 deletion(-)
     496
     497commit 16d68f874d89f1e4a1919786a35bbaef7d71a077
     498Author: Lasse Collin <lasse.collin@tukaani.org>
     499Date:   2015-11-02 18:16:51 +0200
     500
     501    liblzma: Fix a build failure related to external SHA-256 support.
     502   
     503    If an appropriate header and structure were found by configure,
     504    but a library with a usable SHA-256 functions wasn't, the build
     505    failed.
     506
     507 src/liblzma/check/check.h | 32 +++++++++++++++++++++++---------
     508 1 file changed, 23 insertions(+), 9 deletions(-)
     509
     510commit d9311647fc1ab512a3394596221ab8039c00af6b
     511Author: Lasse Collin <lasse.collin@tukaani.org>
     512Date:   2015-11-02 15:19:10 +0200
     513
     514    xz: Always close the file before trying to delete it.
     515   
     516    unlink() can return EBUSY in errno for open files on some
     517    operating systems and file systems.
     518
     519 src/xz/file_io.c | 25 ++++++++++++-------------
     520 1 file changed, 12 insertions(+), 13 deletions(-)
     521
     522commit f59c4183f3c9066626ce45dc3db4642fa603fa21
     523Author: Lasse Collin <lasse.collin@tukaani.org>
     524Date:   2015-10-12 21:08:42 +0300
     525
     526    Update THANKS.
     527
     528 THANKS | 1 +
     529 1 file changed, 1 insertion(+)
     530
     531commit 35f189673e280c12e4c5129f9f97e54eef3bbc04
     532Author: Lasse Collin <lasse.collin@tukaani.org>
     533Date:   2015-10-12 21:07:41 +0300
     534
     535    Tests: Add tests for the two bugs fixed in index.c.
     536
     537 tests/test_index.c | 30 ++++++++++++++++++++++++++++++
     538 1 file changed, 30 insertions(+)
     539
     540commit e10bfdb0fcaff12f3a6dadee51e0a022aadccb51
     541Author: Lasse Collin <lasse.collin@tukaani.org>
     542Date:   2015-10-12 20:45:15 +0300
     543
     544    liblzma: Fix lzma_index_dup() for empty Streams.
     545   
     546    Stream Flags and Stream Padding weren't copied from
     547    empty Streams.
     548
     549 src/liblzma/common/index.c | 11 ++++++-----
     550 1 file changed, 6 insertions(+), 5 deletions(-)
     551
     552commit 06f434bd8980f25ca23232eb7bb7df7e37dc8448
     553Author: Lasse Collin <lasse.collin@tukaani.org>
     554Date:   2015-10-12 20:31:44 +0300
     555
     556    liblzma: Add a note to index.c for those using static analyzers.
     557
     558 src/liblzma/common/index.c | 3 +++
     559 1 file changed, 3 insertions(+)
     560
    1561commit 9815cdf6987ef91a85493bfcfd1ce2aaf3b47a0a
    2562Author: Lasse Collin <lasse.collin@tukaani.org>
     
    130690    Windows: Update the docs.
    131691
    132  INSTALL                     |  29 ++++++----
    133  windows/INSTALL-MSVC.txt    |  47 +++++++++++++++
    134  windows/INSTALL-MinGW.txt   | 138 ++++++++++++++++++++++++++++++++++++++++++++
    135  windows/INSTALL-Windows.txt | 138 --------------------------------------------
    136  4 files changed, 204 insertions(+), 148 deletions(-)
     692 INSTALL                                            | 29 ++++++++-----
     693 windows/INSTALL-MSVC.txt                           | 47 ++++++++++++++++++++++
     694 windows/{INSTALL-Windows.txt => INSTALL-MinGW.txt} |  2 +-
     695 3 files changed, 67 insertions(+), 11 deletions(-)
    137696
    138697commit 28195e4c877007cc760ecea1d17f740693d66873
     
    15882147    The public API file is still lzma.h.
    15892148
    1590  src/liblzma/api/Makefile.am   |   2 +-
    1591  src/liblzma/api/lzma.h        |   2 +-
    1592  src/liblzma/api/lzma/lzma.h   | 420 ------------------------------------------
    1593  src/liblzma/api/lzma/lzma12.h | 420 ++++++++++++++++++++++++++++++++++++++++++
    1594  4 files changed, 422 insertions(+), 422 deletions(-)
     2149 src/liblzma/api/Makefile.am               | 2 +-
     2150 src/liblzma/api/lzma.h                    | 2 +-
     2151 src/liblzma/api/lzma/{lzma.h => lzma12.h} | 2 +-
     2152 3 files changed, 3 insertions(+), 3 deletions(-)
    15952153
    15962154commit 1555a9c5664afc7893a2b75e9970105437f01ef1
     
    26513209    ‘less’ versions 448 (June, 2012) is misparsed, producing a warning:
    26523210   
    2653         $ xzless /tmp/test.xz; echo $?
    2654         /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
    2655         integer expression expected
    2656         0
     3211            $ xzless /tmp/test.xz; echo $?
     3212            /usr/bin/xzless: line 49: test: 456 (GNU regular expressions): \
     3213            integer expression expected
     3214            0
    26573215   
    26583216    More precisely, modern ‘less’ lists the regexp implementation along
     
    26613219    producing the above confusing message.
    26623220   
    2663         $ less-444 -V | head -1
    2664         less 444
    2665         $ less -V | head -1
    2666         less 456 (no regular expressions)
     3221            $ less-444 -V | head -1
     3222            less 444
     3223            $ less -V | head -1
     3224            less 456 (no regular expressions)
    26673225   
    26683226    So relax the pattern matched --- instead of expecting "less <number>",
     
    30593617    an example how to easily fix it.
    30603618
    3061  doc/examples/xz_pipe_comp.c       | 127 --------------------------------------
    3062  doc/examples/xz_pipe_decomp.c     | 123 ------------------------------------
    3063  doc/examples_old/xz_pipe_comp.c   | 127 ++++++++++++++++++++++++++++++++++++++
    3064  doc/examples_old/xz_pipe_decomp.c | 123 ++++++++++++++++++++++++++++++++++++
    3065  4 files changed, 250 insertions(+), 250 deletions(-)
     3619 doc/{examples => examples_old}/xz_pipe_comp.c   | 0
     3620 doc/{examples => examples_old}/xz_pipe_decomp.c | 0
     3621 2 files changed, 0 insertions(+), 0 deletions(-)
    30663622
    30673623commit 905f0ab5b5ce544d4b68a2ed6077df0f3d021292
     
    41604716    DOS: Update the docs and include notes about 8.3 filenames.
    41614717
    4162  dos/INSTALL.txt |  79 ++++++++++++++++++++++++++++++++++++
    4163  dos/README      |  88 ----------------------------------------
    4164  dos/README.txt  | 123 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    4165  3 files changed, 202 insertions(+), 88 deletions(-)
     4718 dos/{README => INSTALL.txt} |  13 +----
     4719 dos/README.txt              | 123 ++++++++++++++++++++++++++++++++++++++++++++
     4720 2 files changed, 125 insertions(+), 11 deletions(-)
    41664721
    41674722commit ebd54dbd6e481d31e80757f900ac8109ad1423c6
     
    42804835    It was renamed to ax_pthread.m4 in Autoconf Archive.
    42814836
    4282  configure.ac      |   2 +-
    4283  m4/acx_pthread.m4 | 279 -----------------------------------------------------
    4284  m4/ax_pthread.m4  | 283 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
    4285  3 files changed, 284 insertions(+), 280 deletions(-)
     4837 configure.ac                         |   2 +-
     4838 m4/{acx_pthread.m4 => ax_pthread.m4} | 170 ++++++++++++++++++-----------------
     4839 2 files changed, 88 insertions(+), 84 deletions(-)
    42864840
    42874841commit 1039bfcfc098b69d56ecb39d198a092552eacf6d
     
    46655219    Builds from a separate build directory with
    46665220   
    4667         mkdir build
    4668         cd build
    4669         ../configure
    4670         doxygen Doxyfile
     5221            mkdir build
     5222            cd build
     5223            ../configure
     5224            doxygen Doxyfile
    46715225   
    46725226    include an even longer prefix /home/someone/src/xz/src; this
     
    52335787    Move version.sh to build-aux.
    52345788
    5235  Makefile.am          |  4 ++--
    5236  build-aux/version.sh | 24 ++++++++++++++++++++++++
    5237  configure.ac         |  2 +-
    5238  version.sh           | 24 ------------------------
    5239  windows/build.bash   |  2 +-
    5240  5 files changed, 28 insertions(+), 28 deletions(-)
     5789 Makefile.am                        | 4 ++--
     5790 version.sh => build-aux/version.sh | 0
     5791 configure.ac                       | 2 +-
     5792 windows/build.bash                 | 2 +-
     5793 4 files changed, 4 insertions(+), 4 deletions(-)
    52415794
    52425795commit 84af9d8770451339a692e9b70f96cf56156a6069
     
    57406293    Windows: build.sh is a bash script so name it correctly.
    57416294
    5742  INSTALL                     |   2 +-
    5743  windows/INSTALL-Windows.txt |   6 +-
    5744  windows/build.bash          | 189 ++++++++++++++++++++++++++++++++++++++++++++
    5745  windows/build.sh            | 189 --------------------------------------------
    5746  4 files changed, 193 insertions(+), 193 deletions(-)
     6295 INSTALL                          | 2 +-
     6296 windows/INSTALL-Windows.txt      | 6 +++---
     6297 windows/{build.sh => build.bash} | 6 +++---
     6298 3 files changed, 7 insertions(+), 7 deletions(-)
    57476299
    57486300commit b1cbfd40f049a646a639eb78a3e41e9e3ef73339
     
    75988150    original patch.
    75998151
    7600  THANKS                          |   1 +
    7601  configure.ac                    |  12 ++--
    7602  m4/lc_cpucores.m4               |  57 ----------------
    7603  m4/lc_physmem.m4                |  84 -----------------------
    7604  m4/tuklib_common.m4             |  22 ++++++
    7605  m4/tuklib_cpucores.m4           |  72 ++++++++++++++++++++
    7606  m4/tuklib_physmem.m4            | 119 ++++++++++++++++++++++++++++++++
    7607  m4/tuklib_progname.m4           |  25 +++++++
    7608  src/common/cpucores.h           |  51 --------------
    7609  src/common/open_stdxxx.h        |  49 --------------
    7610  src/common/physmem.h            | 144 ---------------------------------------
    7611  src/common/sysdefs.h            |   4 --
    7612  src/common/tuklib_common.h      |  67 ++++++++++++++++++
    7613  src/common/tuklib_config.h      |   1 +
    7614  src/common/tuklib_cpucores.c    |  46 +++++++++++++
    7615  src/common/tuklib_cpucores.h    |  23 +++++++
    7616  src/common/tuklib_exit.c        |  57 ++++++++++++++++
    7617  src/common/tuklib_exit.h        |  25 +++++++
    7618  src/common/tuklib_gettext.h     |  44 ++++++++++++
    7619  src/common/tuklib_open_stdxxx.c |  51 ++++++++++++++
    7620  src/common/tuklib_open_stdxxx.h |  23 +++++++
    7621  src/common/tuklib_physmem.c     | 146 ++++++++++++++++++++++++++++++++++++++++
    7622  src/common/tuklib_physmem.h     |  28 ++++++++
    7623  src/common/tuklib_progname.c    |  50 ++++++++++++++
    7624  src/common/tuklib_progname.h    |  32 +++++++++
    7625  src/lzmainfo/Makefile.am        |   5 +-
    7626  src/lzmainfo/lzmainfo.c         |  65 ++++++------------
    7627  src/xz/Makefile.am              |   7 +-
    7628  src/xz/args.c                   |   8 +--
    7629  src/xz/file_io.c                |  43 ++++++------
    7630  src/xz/hardware.c               |   8 +--
    7631  src/xz/main.c                   | 100 ++++++---------------------
    7632  src/xz/main.h                   |   7 --
    7633  src/xz/message.c                |  30 +++++----
    7634  src/xz/message.h                |   8 +--
    7635  src/xz/private.h                |  11 +--
    7636  src/xz/signals.c                |   2 +
    7637  src/xz/signals.h                |  17 +++--
    7638  src/xz/suffix.c                 |   2 +-
    7639  src/xzdec/Makefile.am           |  13 +++-
    7640  src/xzdec/xzdec.c               |  55 +++++----------
    7641  41 files changed, 974 insertions(+), 640 deletions(-)
     8152 THANKS                                             |   1 +
     8153 configure.ac                                       |  12 +--
     8154 m4/lc_physmem.m4                                   |  84 ---------------
     8155 m4/tuklib_common.m4                                |  22 ++++
     8156 m4/{lc_cpucores.m4 => tuklib_cpucores.m4}          |  83 ++++++++------
     8157 m4/tuklib_physmem.m4                               | 119 +++++++++++++++++++++
     8158 m4/tuklib_progname.m4                              |  25 +++++
     8159 src/common/sysdefs.h                               |   4 -
     8160 src/common/tuklib_common.h                         |  67 ++++++++++++
     8161 src/common/tuklib_config.h                         |   1 +
     8162 src/common/{cpucores.h => tuklib_cpucores.c}       |  39 +++----
     8163 src/common/tuklib_cpucores.h                       |  23 ++++
     8164 src/common/tuklib_exit.c                           |  57 ++++++++++
     8165 src/common/tuklib_exit.h                           |  25 +++++
     8166 src/common/tuklib_gettext.h                        |  44 ++++++++
     8167 src/common/{open_stdxxx.h => tuklib_open_stdxxx.c} |  24 +++--
     8168 src/common/tuklib_open_stdxxx.h                    |  23 ++++
     8169 src/common/{physmem.h => tuklib_physmem.c}         |  58 +++++-----
     8170 src/common/tuklib_physmem.h                        |  28 +++++
     8171 src/common/tuklib_progname.c                       |  50 +++++++++
     8172 src/common/tuklib_progname.h                       |  32 ++++++
     8173 src/lzmainfo/Makefile.am                           |   5 +-
     8174 src/lzmainfo/lzmainfo.c                            |  65 ++++-------
     8175 src/xz/Makefile.am                                 |   7 +-
     8176 src/xz/args.c                                      |   8 +-
     8177 src/xz/file_io.c                                   |  43 ++++----
     8178 src/xz/hardware.c                                  |   8 +-
     8179 src/xz/main.c                                      | 100 ++++-------------
     8180 src/xz/main.h                                      |   7 --
     8181 src/xz/message.c                                   |  30 +++---
     8182 src/xz/message.h                                   |   8 +-
     8183 src/xz/private.h                                   |  11 +-
     8184 src/xz/signals.c                                   |   2 +
     8185 src/xz/signals.h                                   |  17 ++-
     8186 src/xz/suffix.c                                    |   2 +-
     8187 src/xzdec/Makefile.am                              |  13 ++-
     8188 src/xzdec/xzdec.c                                  |  55 +++-------
     8189 37 files changed, 768 insertions(+), 434 deletions(-)
    76428190
    76438191commit 49cfc8d392cf535f8dd10233225b1fc726fec9ef
     
    82698817    It can be somewhat confusing that
    82708818   
    8271         less < some_file.txt
     8819            less < some_file.txt
    82728820   
    82738821    works fine, whereas
    82748822   
    8275         xzless < some_file.txt.xz
     8823            xzless < some_file.txt.xz
    82768824   
    82778825    does not.  Since version 429, ‘less’ allows a filter specified in
     
    87619309    to prepare for building them with Autotools.
    87629310
    8763  src/common/common_w32res.rc   | 46 +++++++++++++++++++++++++++++++++++++++++++
    8764  src/liblzma/liblzma_w32res.rc |  5 +++++
    8765  src/xz/xz_w32res.rc           |  5 +++++
    8766  src/xzdec/lzmadec_w32res.rc   |  5 +++++
    8767  src/xzdec/xzdec_w32res.rc     |  5 +++++
    8768  windows/Makefile              | 35 +++++++++++++++++---------------
    8769  windows/common.rc             | 46 -------------------------------------------
    8770  windows/liblzma.rc            |  5 -----
    8771  windows/lzmadec.rc            |  5 -----
    8772  windows/xz.rc                 |  5 -----
    8773  windows/xzdec.rc              |  5 -----
    8774  11 files changed, 85 insertions(+), 82 deletions(-)
     9311 windows/common.rc => src/common/common_w32res.rc   |  0
     9312 .../liblzma.rc => src/liblzma/liblzma_w32res.rc    |  2 +-
     9313 windows/xz.rc => src/xz/xz_w32res.rc               |  2 +-
     9314 windows/lzmadec.rc => src/xzdec/lzmadec_w32res.rc  |  2 +-
     9315 windows/xzdec.rc => src/xzdec/xzdec_w32res.rc      |  2 +-
     9316 windows/Makefile                                   | 35 ++++++++++++----------
     9317 6 files changed, 23 insertions(+), 20 deletions(-)
    87759318
    87769319commit 449c634674f35336a4815d398172e447659a135e
     
    88549397    names.
    88559398
    8856  dos/Makefile       |   4 +-
    8857  src/xz/Makefile.am |   8 +-
    8858  src/xz/coder.c     | 488 ++++++++++++++++++++++++++++++++++++
    8859  src/xz/coder.h     |  57 +++++
    8860  src/xz/file_io.c   | 716 +++++++++++++++++++++++++++++++++++++++++++++++++++++
    8861  src/xz/file_io.h   |  86 +++++++
    8862  src/xz/io.c        | 716 -----------------------------------------------------
    8863  src/xz/io.h        |  86 -------
    8864  src/xz/private.h   |   4 +-
    8865  src/xz/process.c   | 488 ------------------------------------
    8866  src/xz/process.h   |  57 -----
    8867  windows/Makefile   |   4 +-
    8868  12 files changed, 1357 insertions(+), 1357 deletions(-)
     9399 dos/Makefile                  | 4 ++--
     9400 src/xz/Makefile.am            | 8 ++++----
     9401 src/xz/{process.c => coder.c} | 0
     9402 src/xz/{process.h => coder.h} | 0
     9403 src/xz/{io.c => file_io.c}    | 0
     9404 src/xz/{io.h => file_io.h}    | 0
     9405 src/xz/private.h              | 4 ++--
     9406 windows/Makefile              | 4 ++--
     9407 8 files changed, 10 insertions(+), 10 deletions(-)
    88699408
    88709409commit 5e1257466dcb66f1d7a3f71814a5ad885cba43e8
     
    92489787    which is the filename used on the WWW.
    92499788
    9250  doc/file-format.txt    | 1127 ------------------------------------------------
    9251  doc/xz-file-format.txt | 1127 ++++++++++++++++++++++++++++++++++++++++++++++++
    9252  2 files changed, 1127 insertions(+), 1127 deletions(-)
     9789 doc/{file-format.txt => xz-file-format.txt} | 0
     9790 1 file changed, 0 insertions(+), 0 deletions(-)
    92539791
    92549792commit 21c6b94373d239d7e86bd480fcd558e30391712f
     
    93199857    Quick & dirty update to support xz in diff/grep/more scripts.
    93209858
    9321  src/scripts/Makefile.am |  38 +++++++++------
    9322  src/scripts/lzdiff      |  67 --------------------------
    9323  src/scripts/lzdiff.1    |  51 --------------------
    9324  src/scripts/lzgrep      | 123 ------------------------------------------------
    9325  src/scripts/lzgrep.1    |  61 ------------------------
    9326  src/scripts/lzmore      |  74 -----------------------------
    9327  src/scripts/lzmore.1    |  55 ----------------------
    9328  src/scripts/xzdiff      |  67 ++++++++++++++++++++++++++
    9329  src/scripts/xzdiff.1    |  58 +++++++++++++++++++++++
    9330  src/scripts/xzgrep      | 123 ++++++++++++++++++++++++++++++++++++++++++++++++
    9331  src/scripts/xzgrep.1    |  77 ++++++++++++++++++++++++++++++
    9332  src/scripts/xzmore      |  74 +++++++++++++++++++++++++++++
    9333  src/scripts/xzmore.1    |  66 ++++++++++++++++++++++++++
    9334  13 files changed, 489 insertions(+), 445 deletions(-)
     9859 src/scripts/Makefile.am            | 38 +++++++++++++++++++-----------
     9860 src/scripts/{lzdiff => xzdiff}     | 24 +++++++++----------
     9861 src/scripts/{lzdiff.1 => xzdiff.1} | 29 ++++++++++++++---------
     9862 src/scripts/{lzgrep => xzgrep}     | 10 ++++----
     9863 src/scripts/{lzgrep.1 => xzgrep.1} | 48 +++++++++++++++++++++++++-------------
     9864 src/scripts/{lzmore => xzmore}     | 12 +++++-----
     9865 src/scripts/{lzmore.1 => xzmore.1} | 33 +++++++++++++++++---------
     9866 7 files changed, 119 insertions(+), 75 deletions(-)
    93359867
    93369868commit 02ddf09bc3079b3e17297729b9e43f14d407b8fc
     
    967610208    linked applications bigger than needed.
    967710209
    9678  dos/Makefile                               |   6 +-
    9679  src/liblzma/common/easy.c                  | 128 -----------------------------
    9680  src/liblzma/common/easy_buffer_encoder.c   |  34 ++++++++
    9681  src/liblzma/common/easy_decoder_memusage.c |  31 +++++++
    9682  src/liblzma/common/easy_encoder.c          |  87 ++++++++++++++++++++
    9683  src/liblzma/common/easy_encoder_memusage.c |  31 +++++++
    9684  src/liblzma/common/easy_preset.c           |  34 ++++++++
    9685  src/liblzma/common/easy_preset.h           |  39 +++++++++
    9686  windows/Makefile                           |   6 +-
    9687  9 files changed, 266 insertions(+), 130 deletions(-)
     10210 dos/Makefile                                  |  6 ++-
     10211 src/liblzma/common/easy_buffer_encoder.c      | 34 +++++++++++++++++
     10212 src/liblzma/common/easy_decoder_memusage.c    | 31 ++++++++++++++++
     10213 src/liblzma/common/{easy.c => easy_encoder.c} | 53 +++------------------------
     10214 src/liblzma/common/easy_encoder_memusage.c    | 31 ++++++++++++++++
     10215 src/liblzma/common/easy_preset.c              | 34 +++++++++++++++++
     10216 src/liblzma/common/easy_preset.h              | 39 ++++++++++++++++++++
     10217 windows/Makefile                              |  6 ++-
     10218 8 files changed, 185 insertions(+), 49 deletions(-)
    968810219
    968910220commit 7494816ab08d82f4d6409788825930c4e43cfd0d
     
    1065811189    It may need some cleanups, so I look at it later.
    1065911190
    10660  src/liblzma/api/Makefile.am         |  2 +-
    10661  src/liblzma/api/lzma.h              |  2 +-
    10662  src/liblzma/api/lzma/bcj.h          | 94 +++++++++++++++++++++++++++++++++++++
    10663  src/liblzma/api/lzma/simple.h       | 94 -------------------------------------
    10664  src/liblzma/simple/simple_coder.c   |  2 +-
    10665  src/liblzma/simple/simple_decoder.c |  4 +-
    10666  src/liblzma/simple/simple_encoder.c |  4 +-
    10667  tests/test_filter_flags.c           |  8 ++--
    10668  8 files changed, 105 insertions(+), 105 deletions(-)
     11191 src/liblzma/api/Makefile.am              |  2 +-
     11192 src/liblzma/api/lzma.h                   |  2 +-
     11193 src/liblzma/api/lzma/{simple.h => bcj.h} | 22 +++++++++++-----------
     11194 src/liblzma/simple/simple_coder.c        |  2 +-
     11195 src/liblzma/simple/simple_decoder.c      |  4 ++--
     11196 src/liblzma/simple/simple_encoder.c      |  4 ++--
     11197 tests/test_filter_flags.c                |  8 ++++----
     11198 7 files changed, 22 insertions(+), 22 deletions(-)
    1066911199
    1067011200commit 7eea8bec3abfed883efba66264a1452a1c04f6b0
     
    1072011250    on other architectures.
    1072111251
    10722  configure.ac                              | 29 ++++++++--
    10723  src/common/mythread.h                     | 34 ++++++++++++
    10724  src/liblzma/api/Makefile.am               |  1 -
    10725  src/liblzma/api/lzma.h                    |  1 -
    10726  src/liblzma/api/lzma/init.h               | 85 -----------------------------
    10727  src/liblzma/check/Makefile.am             | 29 ++++------
    10728  src/liblzma/check/check.c                 | 10 ++--
    10729  src/liblzma/check/check.h                 | 25 ++++-----
    10730  src/liblzma/check/check_init.c            | 37 -------------
    10731  src/liblzma/check/crc32.c                 | 88 -------------------------------
    10732  src/liblzma/check/crc32_fast.c            | 88 +++++++++++++++++++++++++++++++
    10733  src/liblzma/check/crc32_init.c            | 55 -------------------
    10734  src/liblzma/check/crc32_small.c           | 54 +++++++++++++++++++
    10735  src/liblzma/check/crc32_tablegen.c        | 55 ++++++++++++++++---
    10736  src/liblzma/check/crc64.c                 | 75 --------------------------
    10737  src/liblzma/check/crc64_fast.c            | 75 ++++++++++++++++++++++++++
    10738  src/liblzma/check/crc64_small.c           | 54 +++++++++++++++++++
    10739  src/liblzma/check/crc64_tablegen.c        | 55 ++++++++++++++++---
    10740  src/liblzma/common/Makefile.am            |  3 --
    10741  src/liblzma/common/common.h               |  1 +
    10742  src/liblzma/common/init.c                 | 39 --------------
    10743  src/liblzma/common/init_decoder.c         | 31 -----------
    10744  src/liblzma/common/init_encoder.c         | 40 --------------
    10745  src/liblzma/liblzma.pc.in                 | 12 +++++
    10746  src/liblzma/lz/lz_encoder.c               |  6 +++
    10747  src/liblzma/lzma.pc.in                    | 11 ----
    10748  src/liblzma/rangecoder/Makefile.am        |  8 +--
    10749  src/liblzma/rangecoder/price.h            | 16 +-----
    10750  src/liblzma/rangecoder/price_table.c      |  2 +-
    10751  src/liblzma/rangecoder/price_table_init.c | 55 -------------------
    10752  src/liblzma/rangecoder/price_tablegen.c   | 51 +++++++++++++++---
    10753  src/xz/Makefile.am                        |  5 +-
    10754  src/xz/main.c                             |  3 --
    10755  src/xzdec/xzdec.c                         |  3 --
    10756  tests/test_block_header.c                 |  1 -
    10757  tests/test_check.c                        |  2 -
    10758  tests/test_filter_flags.c                 |  2 -
    10759  tests/test_index.c                        |  2 -
    10760  tests/test_stream_flags.c                 |  2 -
    10761  tests/tests.h                             |  2 +-
    10762  40 files changed, 519 insertions(+), 628 deletions(-)
     11252 configure.ac                                | 29 ++++++++--
     11253 src/common/mythread.h                       | 34 ++++++++++++
     11254 src/liblzma/api/Makefile.am                 |  1 -
     11255 src/liblzma/api/lzma.h                      |  1 -
     11256 src/liblzma/api/lzma/init.h                 | 85 -----------------------------
     11257 src/liblzma/check/Makefile.am               | 29 ++++------
     11258 src/liblzma/check/check.c                   | 10 ++--
     11259 src/liblzma/check/check.h                   | 25 +++------
     11260 src/liblzma/check/check_init.c              | 37 -------------
     11261 src/liblzma/check/{crc32.c => crc32_fast.c} |  0
     11262 src/liblzma/check/crc32_init.c              | 55 -------------------
     11263 src/liblzma/check/crc32_small.c             | 54 ++++++++++++++++++
     11264 src/liblzma/check/crc32_tablegen.c          | 55 ++++++++++++++++---
     11265 src/liblzma/check/{crc64.c => crc64_fast.c} |  0
     11266 src/liblzma/check/crc64_small.c             | 54 ++++++++++++++++++
     11267 src/liblzma/check/crc64_tablegen.c          | 55 ++++++++++++++++---
     11268 src/liblzma/common/Makefile.am              |  3 -
     11269 src/liblzma/common/common.h                 |  1 +
     11270 src/liblzma/common/init.c                   | 39 -------------
     11271 src/liblzma/common/init_decoder.c           | 31 -----------
     11272 src/liblzma/common/init_encoder.c           | 40 --------------
     11273 src/liblzma/{lzma.pc.in => liblzma.pc.in}   |  5 +-
     11274 src/liblzma/lz/lz_encoder.c                 |  6 ++
     11275 src/liblzma/rangecoder/Makefile.am          |  8 +--
     11276 src/liblzma/rangecoder/price.h              | 16 +-----
     11277 src/liblzma/rangecoder/price_table.c        |  2 +-
     11278 src/liblzma/rangecoder/price_table_init.c   | 55 -------------------
     11279 src/liblzma/rangecoder/price_tablegen.c     | 51 ++++++++++++++---
     11280 src/xz/Makefile.am                          |  5 +-
     11281 src/xz/main.c                               |  3 -
     11282 src/xzdec/xzdec.c                           |  3 -
     11283 tests/test_block_header.c                   |  1 -
     11284 tests/test_check.c                          |  2 -
     11285 tests/test_filter_flags.c                   |  2 -
     11286 tests/test_index.c                          |  2 -
     11287 tests/test_stream_flags.c                   |  2 -
     11288 tests/tests.h                               |  2 +-
     11289 37 files changed, 347 insertions(+), 456 deletions(-)
    1076311290
    1076411291commit 5cda29b5665004fc0f21d0c41d78022a6a559ab2
     
    1121311740    should be the default though.
    1121411741
    11215  configure.ac            |   4 +-
    11216  po/POTFILES.in          |  21 +-
    11217  src/Makefile.am         |   2 +-
    11218  src/lzma/Makefile.am    |  72 ----
    11219  src/lzma/args.c         | 500 ---------------------------
    11220  src/lzma/args.h         |  56 ---
    11221  src/lzma/hardware.c     | 122 -------
    11222  src/lzma/hardware.h     |  45 ---
    11223  src/lzma/io.c           | 658 -----------------------------------
    11224  src/lzma/io.h           |  97 ------
    11225  src/lzma/list.c         | 477 --------------------------
    11226  src/lzma/main.c         | 402 ----------------------
    11227  src/lzma/main.h         |  60 ----
    11228  src/lzma/message.c      | 892 ------------------------------------------------
    11229  src/lzma/message.h      | 132 -------
    11230  src/lzma/options.c      | 352 -------------------
    11231  src/lzma/options.h      |  46 ---
    11232  src/lzma/private.h      |  52 ---
    11233  src/lzma/process.c      | 391 ---------------------
    11234  src/lzma/process.h      |  70 ----
    11235  src/lzma/suffix.c       | 213 ------------
    11236  src/lzma/suffix.h       |  40 ---
    11237  src/lzma/util.c         | 199 -----------
    11238  src/lzma/util.h         |  71 ----
    11239  src/lzmadec/Makefile.am |  29 --
    11240  src/lzmadec/lzmadec.c   | 492 --------------------------
    11241  src/xz/Makefile.am      |  74 ++++
    11242  src/xz/args.c           | 500 +++++++++++++++++++++++++++
    11243  src/xz/args.h           |  56 +++
    11244  src/xz/hardware.c       | 122 +++++++
    11245  src/xz/hardware.h       |  45 +++
    11246  src/xz/io.c             | 658 +++++++++++++++++++++++++++++++++++
    11247  src/xz/io.h             |  97 ++++++
    11248  src/xz/list.c           | 477 ++++++++++++++++++++++++++
    11249  src/xz/main.c           | 402 ++++++++++++++++++++++
    11250  src/xz/main.h           |  60 ++++
    11251  src/xz/message.c        | 892 ++++++++++++++++++++++++++++++++++++++++++++++++
    11252  src/xz/message.h        | 132 +++++++
    11253  src/xz/options.c        | 352 +++++++++++++++++++
    11254  src/xz/options.h        |  46 +++
    11255  src/xz/private.h        |  52 +++
    11256  src/xz/process.c        | 391 +++++++++++++++++++++
    11257  src/xz/process.h        |  70 ++++
    11258  src/xz/suffix.c         | 213 ++++++++++++
    11259  src/xz/suffix.h         |  40 +++
    11260  src/xz/util.c           | 199 +++++++++++
    11261  src/xz/util.h           |  71 ++++
    11262  src/xzdec/Makefile.am   |  29 ++
    11263  src/xzdec/xzdec.c       | 492 ++++++++++++++++++++++++++
    11264  tests/test_compress.sh  |  29 +-
    11265  tests/test_files.sh     |   4 +-
    11266  51 files changed, 5498 insertions(+), 5500 deletions(-)
     11742 configure.ac                             |  4 ++--
     11743 po/POTFILES.in                           | 21 +++++++++------------
     11744 src/Makefile.am                          |  2 +-
     11745 src/{lzma => xz}/Makefile.am             | 32 +++++++++++++++++---------------
     11746 src/{lzma => xz}/args.c                  |  0
     11747 src/{lzma => xz}/args.h                  |  0
     11748 src/{lzma => xz}/hardware.c              |  0
     11749 src/{lzma => xz}/hardware.h              |  0
     11750 src/{lzma => xz}/io.c                    |  0
     11751 src/{lzma => xz}/io.h                    |  0
     11752 src/{lzma => xz}/list.c                  |  0
     11753 src/{lzma => xz}/main.c                  |  0
     11754 src/{lzma => xz}/main.h                  |  0
     11755 src/{lzma => xz}/message.c               |  0
     11756 src/{lzma => xz}/message.h               |  0
     11757 src/{lzma => xz}/options.c               |  0
     11758 src/{lzma => xz}/options.h               |  0
     11759 src/{lzma => xz}/private.h               |  0
     11760 src/{lzma => xz}/process.c               |  0
     11761 src/{lzma => xz}/process.h               |  0
     11762 src/{lzma => xz}/suffix.c                |  0
     11763 src/{lzma => xz}/suffix.h                |  0
     11764 src/{lzma => xz}/util.c                  |  0
     11765 src/{lzma => xz}/util.h                  |  0
     11766 src/{lzmadec => xzdec}/Makefile.am       | 12 ++++++------
     11767 src/{lzmadec/lzmadec.c => xzdec/xzdec.c} |  4 ++--
     11768 tests/test_compress.sh                   | 29 ++++++++++++++---------------
     11769 tests/test_files.sh                      |  4 ++--
     11770 28 files changed, 53 insertions(+), 55 deletions(-)
    1126711771
    1126811772commit e114502b2bc371e4a45449832cb69be036360722
     
    1129011794 lib/Makefile.am                              |  10 +-
    1129111795 lib/getopt.c                                 |  14 +-
    11292  lib/getopt.in.h                              | 226 +++++++
     11796 lib/{getopt_.h => getopt.in.h}               |   8 +-
    1129311797 lib/getopt1.c                                |   8 +-
    11294  lib/getopt_.h                                | 226 -------
    1129511798 lib/gettext.h                                | 240 -------
    1129611799 m4/getopt.m4                                 |  64 +-
     
    1139411897 tests/test_block_header.c                    |  16 +-
    1139511898 tests/test_index.c                           |  42 +-
    11396  113 files changed, 3462 insertions(+), 2946 deletions(-)
     11899 112 files changed, 3240 insertions(+), 2724 deletions(-)
    1139711900
    1139811901commit 3c3905b53462ae235c9438d86a4dc51086410932
     
    1146811971    Renamed the test files from .lzma suffix to .xz suffix.
    1146911972
    11470  tests/files/README                             | 128 ++++++++++++-------------
    11471  tests/files/bad-0-backward_size.lzma           | Bin 32 -> 0 bytes
    11472  tests/files/bad-0-backward_size.xz             | Bin 0 -> 32 bytes
    11473  tests/files/bad-0-empty-truncated.lzma         | Bin 31 -> 0 bytes
    11474  tests/files/bad-0-empty-truncated.xz           | Bin 0 -> 31 bytes
    11475  tests/files/bad-0-footer_magic.lzma            | Bin 32 -> 0 bytes
    11476  tests/files/bad-0-footer_magic.xz              | Bin 0 -> 32 bytes
    11477  tests/files/bad-0-header_magic.lzma            | Bin 32 -> 0 bytes
    11478  tests/files/bad-0-header_magic.xz              | Bin 0 -> 32 bytes
    11479  tests/files/bad-0-nonempty_index.lzma          | Bin 32 -> 0 bytes
    11480  tests/files/bad-0-nonempty_index.xz            | Bin 0 -> 32 bytes
    11481  tests/files/bad-0cat-alone.lzma                | Bin 55 -> 0 bytes
    11482  tests/files/bad-0cat-alone.xz                  | Bin 0 -> 55 bytes
    11483  tests/files/bad-0cat-header_magic.lzma         | Bin 64 -> 0 bytes
    11484  tests/files/bad-0cat-header_magic.xz           | Bin 0 -> 64 bytes
    11485  tests/files/bad-0catpad-empty.lzma             | Bin 69 -> 0 bytes
    11486  tests/files/bad-0catpad-empty.xz               | Bin 0 -> 69 bytes
    11487  tests/files/bad-0pad-empty.lzma                | Bin 37 -> 0 bytes
    11488  tests/files/bad-0pad-empty.xz                  | Bin 0 -> 37 bytes
    11489  tests/files/bad-1-block_header-1.lzma          | Bin 64 -> 0 bytes
    11490  tests/files/bad-1-block_header-1.xz            | Bin 0 -> 64 bytes
    11491  tests/files/bad-1-block_header-2.lzma          | Bin 64 -> 0 bytes
    11492  tests/files/bad-1-block_header-2.xz            | Bin 0 -> 64 bytes
    11493  tests/files/bad-1-block_header-3.lzma          | Bin 68 -> 0 bytes
    11494  tests/files/bad-1-block_header-3.xz            | Bin 0 -> 68 bytes
    11495  tests/files/bad-1-block_header-4.lzma          | Bin 72 -> 0 bytes
    11496  tests/files/bad-1-block_header-4.xz            | Bin 0 -> 72 bytes
    11497  tests/files/bad-1-check-crc32.lzma             | Bin 68 -> 0 bytes
    11498  tests/files/bad-1-check-crc32.xz               | Bin 0 -> 68 bytes
    11499  tests/files/bad-1-check-crc64.lzma             | Bin 72 -> 0 bytes
    11500  tests/files/bad-1-check-crc64.xz               | Bin 0 -> 72 bytes
    11501  tests/files/bad-1-check-sha256.lzma            | Bin 96 -> 0 bytes
    11502  tests/files/bad-1-check-sha256.xz              | Bin 0 -> 96 bytes
    11503  tests/files/bad-1-lzma2-1.lzma                 | Bin 64 -> 0 bytes
    11504  tests/files/bad-1-lzma2-1.xz                   | Bin 0 -> 64 bytes
    11505  tests/files/bad-1-lzma2-2.lzma                 | Bin 424 -> 0 bytes
    11506  tests/files/bad-1-lzma2-2.xz                   | Bin 0 -> 424 bytes
    11507  tests/files/bad-1-lzma2-3.lzma                 | Bin 424 -> 0 bytes
    11508  tests/files/bad-1-lzma2-3.xz                   | Bin 0 -> 424 bytes
    11509  tests/files/bad-1-lzma2-4.lzma                 | Bin 408 -> 0 bytes
    11510  tests/files/bad-1-lzma2-4.xz                   | Bin 0 -> 408 bytes
    11511  tests/files/bad-1-lzma2-5.lzma                 | Bin 408 -> 0 bytes
    11512  tests/files/bad-1-lzma2-5.xz                   | Bin 0 -> 408 bytes
    11513  tests/files/bad-1-lzma2-6.lzma                 | Bin 68 -> 0 bytes
    11514  tests/files/bad-1-lzma2-6.xz                   | Bin 0 -> 68 bytes
    11515  tests/files/bad-1-lzma2-7.lzma                 | Bin 408 -> 0 bytes
    11516  tests/files/bad-1-lzma2-7.xz                   | Bin 0 -> 408 bytes
    11517  tests/files/bad-1-stream_flags-1.lzma          | Bin 68 -> 0 bytes
    11518  tests/files/bad-1-stream_flags-1.xz            | Bin 0 -> 68 bytes
    11519  tests/files/bad-1-stream_flags-2.lzma          | Bin 68 -> 0 bytes
    11520  tests/files/bad-1-stream_flags-2.xz            | Bin 0 -> 68 bytes
    11521  tests/files/bad-1-stream_flags-3.lzma          | Bin 68 -> 0 bytes
    11522  tests/files/bad-1-stream_flags-3.xz            | Bin 0 -> 68 bytes
    11523  tests/files/bad-1-vli-1.lzma                   | Bin 72 -> 0 bytes
    11524  tests/files/bad-1-vli-1.xz                     | Bin 0 -> 72 bytes
    11525  tests/files/bad-1-vli-2.lzma                   | Bin 72 -> 0 bytes
    11526  tests/files/bad-1-vli-2.xz                     | Bin 0 -> 72 bytes
    11527  tests/files/bad-2-compressed_data_padding.lzma | Bin 92 -> 0 bytes
    11528  tests/files/bad-2-compressed_data_padding.xz   | Bin 0 -> 92 bytes
    11529  tests/files/bad-2-index-1.lzma                 | Bin 92 -> 0 bytes
    11530  tests/files/bad-2-index-1.xz                   | Bin 0 -> 92 bytes
    11531  tests/files/bad-2-index-2.lzma                 | Bin 92 -> 0 bytes
    11532  tests/files/bad-2-index-2.xz                   | Bin 0 -> 92 bytes
    11533  tests/files/bad-2-index-3.lzma                 | Bin 92 -> 0 bytes
    11534  tests/files/bad-2-index-3.xz                   | Bin 0 -> 92 bytes
    11535  tests/files/bad-2-index-4.lzma                 | Bin 92 -> 0 bytes
    11536  tests/files/bad-2-index-4.xz                   | Bin 0 -> 92 bytes
    11537  tests/files/good-0-empty.lzma                  | Bin 32 -> 0 bytes
    11538  tests/files/good-0-empty.xz                    | Bin 0 -> 32 bytes
    11539  tests/files/good-0cat-empty.lzma               | Bin 64 -> 0 bytes
    11540  tests/files/good-0cat-empty.xz                 | Bin 0 -> 64 bytes
    11541  tests/files/good-0catpad-empty.lzma            | Bin 68 -> 0 bytes
    11542  tests/files/good-0catpad-empty.xz              | Bin 0 -> 68 bytes
    11543  tests/files/good-0pad-empty.lzma               | Bin 36 -> 0 bytes
    11544  tests/files/good-0pad-empty.xz                 | Bin 0 -> 36 bytes
    11545  tests/files/good-1-3delta-lzma2.lzma           | Bin 528 -> 0 bytes
    11546  tests/files/good-1-3delta-lzma2.xz             | Bin 0 -> 528 bytes
    11547  tests/files/good-1-block_header-1.lzma         | Bin 72 -> 0 bytes
    11548  tests/files/good-1-block_header-1.xz           | Bin 0 -> 72 bytes
    11549  tests/files/good-1-block_header-2.lzma         | Bin 68 -> 0 bytes
    11550  tests/files/good-1-block_header-2.xz           | Bin 0 -> 68 bytes
    11551  tests/files/good-1-block_header-3.lzma         | Bin 68 -> 0 bytes
    11552  tests/files/good-1-block_header-3.xz           | Bin 0 -> 68 bytes
    11553  tests/files/good-1-check-crc32.lzma            | Bin 68 -> 0 bytes
    11554  tests/files/good-1-check-crc32.xz              | Bin 0 -> 68 bytes
    11555  tests/files/good-1-check-crc64.lzma            | Bin 72 -> 0 bytes
    11556  tests/files/good-1-check-crc64.xz              | Bin 0 -> 72 bytes
    11557  tests/files/good-1-check-none.lzma             | Bin 64 -> 0 bytes
    11558  tests/files/good-1-check-none.xz               | Bin 0 -> 64 bytes
    11559  tests/files/good-1-check-sha256.lzma           | Bin 96 -> 0 bytes
    11560  tests/files/good-1-check-sha256.xz             | Bin 0 -> 96 bytes
    11561  tests/files/good-1-delta-lzma2.tiff.lzma       | Bin 51312 -> 0 bytes
    11562  tests/files/good-1-delta-lzma2.tiff.xz         | Bin 0 -> 51312 bytes
    11563  tests/files/good-1-lzma2-1.lzma                | Bin 424 -> 0 bytes
    11564  tests/files/good-1-lzma2-1.xz                  | Bin 0 -> 424 bytes
    11565  tests/files/good-1-lzma2-2.lzma                | Bin 424 -> 0 bytes
    11566  tests/files/good-1-lzma2-2.xz                  | Bin 0 -> 424 bytes
    11567  tests/files/good-1-lzma2-3.lzma                | Bin 408 -> 0 bytes
    11568  tests/files/good-1-lzma2-3.xz                  | Bin 0 -> 408 bytes
    11569  tests/files/good-1-sparc-lzma2.lzma            | Bin 2292 -> 0 bytes
    11570  tests/files/good-1-sparc-lzma2.xz              | Bin 0 -> 2292 bytes
    11571  tests/files/good-1-x86-lzma2.lzma              | Bin 1936 -> 0 bytes
    11572  tests/files/good-1-x86-lzma2.xz                | Bin 0 -> 1936 bytes
    11573  tests/files/good-2-lzma2.lzma                  | Bin 92 -> 0 bytes
    11574  tests/files/good-2-lzma2.xz                    | Bin 0 -> 92 bytes
    11575  tests/files/unsupported-block_header.lzma      | Bin 68 -> 0 bytes
    11576  tests/files/unsupported-block_header.xz        | Bin 0 -> 68 bytes
    11577  tests/files/unsupported-check.lzma             | Bin 68 -> 0 bytes
    11578  tests/files/unsupported-check.xz               | Bin 0 -> 68 bytes
    11579  tests/files/unsupported-filter_flags-1.lzma    | Bin 68 -> 0 bytes
    11580  tests/files/unsupported-filter_flags-1.xz      | Bin 0 -> 68 bytes
    11581  tests/files/unsupported-filter_flags-2.lzma    | Bin 68 -> 0 bytes
    11582  tests/files/unsupported-filter_flags-2.xz      | Bin 0 -> 68 bytes
    11583  tests/files/unsupported-filter_flags-3.lzma    | Bin 68 -> 0 bytes
    11584  tests/files/unsupported-filter_flags-3.xz      | Bin 0 -> 68 bytes
    11585  tests/test_files.sh                            |   6 +-
    11586  116 files changed, 66 insertions(+), 68 deletions(-)
     11973 tests/files/README                                 | 128 ++++++++++-----------
     11974 ...0-backward_size.lzma => bad-0-backward_size.xz} | Bin
     11975 ...pty-truncated.lzma => bad-0-empty-truncated.xz} | Bin
     11976 ...d-0-footer_magic.lzma => bad-0-footer_magic.xz} | Bin
     11977 ...d-0-header_magic.lzma => bad-0-header_magic.xz} | Bin
     11978 ...nonempty_index.lzma => bad-0-nonempty_index.xz} | Bin
     11979 .../{bad-0cat-alone.lzma => bad-0cat-alone.xz}     | Bin
     11980 ...-header_magic.lzma => bad-0cat-header_magic.xz} | Bin
     11981 ...bad-0catpad-empty.lzma => bad-0catpad-empty.xz} | Bin
     11982 .../{bad-0pad-empty.lzma => bad-0pad-empty.xz}     | Bin
     11983 ...block_header-1.lzma => bad-1-block_header-1.xz} | Bin
     11984 ...block_header-2.lzma => bad-1-block_header-2.xz} | Bin
     11985 ...block_header-3.lzma => bad-1-block_header-3.xz} | Bin
     11986 ...block_header-4.lzma => bad-1-block_header-4.xz} | Bin
     11987 ...bad-1-check-crc32.lzma => bad-1-check-crc32.xz} | Bin
     11988 ...bad-1-check-crc64.lzma => bad-1-check-crc64.xz} | Bin
     11989 ...d-1-check-sha256.lzma => bad-1-check-sha256.xz} | Bin
     11990 .../files/{bad-1-lzma2-1.lzma => bad-1-lzma2-1.xz} | Bin
     11991 .../files/{bad-1-lzma2-2.lzma => bad-1-lzma2-2.xz} | Bin
     11992 .../files/{bad-1-lzma2-3.lzma => bad-1-lzma2-3.xz} | Bin
     11993 .../files/{bad-1-lzma2-4.lzma => bad-1-lzma2-4.xz} | Bin
     11994 .../files/{bad-1-lzma2-5.lzma => bad-1-lzma2-5.xz} | Bin
     11995 .../files/{bad-1-lzma2-6.lzma => bad-1-lzma2-6.xz} | Bin
     11996 .../files/{bad-1-lzma2-7.lzma => bad-1-lzma2-7.xz} | Bin
     11997 ...stream_flags-1.lzma => bad-1-stream_flags-1.xz} | Bin
     11998 ...stream_flags-2.lzma => bad-1-stream_flags-2.xz} | Bin
     11999 ...stream_flags-3.lzma => bad-1-stream_flags-3.xz} | Bin
     12000 tests/files/{bad-1-vli-1.lzma => bad-1-vli-1.xz}   | Bin
     12001 tests/files/{bad-1-vli-2.lzma => bad-1-vli-2.xz}   | Bin
     12002 ...dding.lzma => bad-2-compressed_data_padding.xz} | Bin
     12003 .../files/{bad-2-index-1.lzma => bad-2-index-1.xz} | Bin
     12004 .../files/{bad-2-index-2.lzma => bad-2-index-2.xz} | Bin
     12005 .../files/{bad-2-index-3.lzma => bad-2-index-3.xz} | Bin
     12006 .../files/{bad-2-index-4.lzma => bad-2-index-4.xz} | Bin
     12007 tests/files/{good-0-empty.lzma => good-0-empty.xz} | Bin
     12008 .../{good-0cat-empty.lzma => good-0cat-empty.xz}   | Bin
     12009 ...od-0catpad-empty.lzma => good-0catpad-empty.xz} | Bin
     12010 .../{good-0pad-empty.lzma => good-0pad-empty.xz}   | Bin
     12011 ...-1-3delta-lzma2.lzma => good-1-3delta-lzma2.xz} | Bin
     12012 ...lock_header-1.lzma => good-1-block_header-1.xz} | Bin
     12013 ...lock_header-2.lzma => good-1-block_header-2.xz} | Bin
     12014 ...lock_header-3.lzma => good-1-block_header-3.xz} | Bin
     12015 ...od-1-check-crc32.lzma => good-1-check-crc32.xz} | Bin
     12016 ...od-1-check-crc64.lzma => good-1-check-crc64.xz} | Bin
     12017 ...good-1-check-none.lzma => good-1-check-none.xz} | Bin
     12018 ...-1-check-sha256.lzma => good-1-check-sha256.xz} | Bin
     12019 ...-lzma2.tiff.lzma => good-1-delta-lzma2.tiff.xz} | Bin
     12020 .../{good-1-lzma2-1.lzma => good-1-lzma2-1.xz}     | Bin
     12021 .../{good-1-lzma2-2.lzma => good-1-lzma2-2.xz}     | Bin
     12022 .../{good-1-lzma2-3.lzma => good-1-lzma2-3.xz}     | Bin
     12023 ...od-1-sparc-lzma2.lzma => good-1-sparc-lzma2.xz} | Bin
     12024 .../{good-1-x86-lzma2.lzma => good-1-x86-lzma2.xz} | Bin
     12025 tests/files/{good-2-lzma2.lzma => good-2-lzma2.xz} | Bin
     12026 ...ock_header.lzma => unsupported-block_header.xz} | Bin
     12027 ...unsupported-check.lzma => unsupported-check.xz} | Bin
     12028 ..._flags-1.lzma => unsupported-filter_flags-1.xz} | Bin
     12029 ..._flags-2.lzma => unsupported-filter_flags-2.xz} | Bin
     12030 ..._flags-3.lzma => unsupported-filter_flags-3.xz} | Bin
     12031 tests/test_files.sh                                |   6 +-
     12032 59 files changed, 66 insertions(+), 68 deletions(-)
    1158712033
    1158812034commit 8e60c889a2816a63013a35c99ce26bf28f5b78eb
     
    1217512621 configure.ac                                       |  356 +++---
    1217612622 debug/Makefile.am                                  |    5 +-
    12177  debug/crc32.c                                      |   45 +
     12623 .../lz/lz_encoder_private.h => debug/crc32.c       |   41 +-
    1217812624 debug/full_flush.c                                 |   14 +-
    1217912625 debug/hex2bin.c                                    |   54 +
     
    1222412670 src/liblzma/common/block_header_encoder.c          |    9 +-
    1222512671 src/liblzma/common/block_util.c                    |   10 +-
    12226  src/liblzma/common/code.c                          |  203 ---
    12227  src/liblzma/common/common.c                        |  298 +++++
     12672 src/liblzma/common/{code.c => common.c}            |  129 +-
    1222812673 src/liblzma/common/common.h                        |  237 ++--
    12229  src/liblzma/common/delta_common.c                  |   66 -
    12230  src/liblzma/common/delta_common.h                  |   44 -
    12231  src/liblzma/common/delta_decoder.c                 |   61 -
    12232  src/liblzma/common/delta_decoder.h                 |   28 -
    12233  src/liblzma/common/delta_encoder.c                 |   98 --
    12234  src/liblzma/common/delta_encoder.h                 |   28 -
    1223512674 src/liblzma/common/easy.c                          |   18 +-
    1223612675 src/liblzma/common/features.c                      |   66 -
     
    1225012689 src/liblzma/common/next_coder.c                    |   65 -
    1225112690 src/liblzma/common/raw_common.c                    |  127 --
    12252  src/liblzma/common/raw_common.h                    |   30 -
    1225312691 src/liblzma/common/raw_decoder.c                   |  116 --
    12254  src/liblzma/common/raw_decoder.h                   |   29 -
    1225512692 src/liblzma/common/raw_encoder.c                   |  111 --
    12256  src/liblzma/common/raw_encoder.h                   |   29 -
    1225712693 src/liblzma/common/stream_common.c                 |   23 -
    12258  src/liblzma/common/stream_common.h                 |   31 -
    1225912694 src/liblzma/common/stream_decoder.c                |  238 +++-
    1226012695 src/liblzma/common/stream_decoder.h                |    4 +-
    1226112696 src/liblzma/common/stream_encoder.c                |   35 +-
    1226212697 src/liblzma/common/stream_encoder.h                |    2 +-
    12263  src/liblzma/common/stream_flags_common.c           |   40 +
    12264  src/liblzma/common/stream_flags_common.h           |   31 +
     12698 ...{stream_flags_equal.c => stream_flags_common.c} |   14 +-
     12699 .../{stream_common.h => stream_flags_common.h}     |    8 +-
    1226512700 src/liblzma/common/stream_flags_decoder.c          |    2 +-
    1226612701 src/liblzma/common/stream_flags_encoder.c          |    2 +-
    12267  src/liblzma/common/stream_flags_equal.c            |   36 -
    12268  src/liblzma/common/version.c                       |   25 -
    1226912702 src/liblzma/common/vli_decoder.c                   |   29 +-
    1227012703 src/liblzma/common/vli_encoder.c                   |   23 +-
    12271  src/liblzma/common/vli_size.c                      |   37 +
     12704 src/liblzma/common/{version.c => vli_size.c}       |   22 +-
    1227212705 src/liblzma/delta/Makefile.am                      |   34 +
    12273  src/liblzma/delta/delta_common.c                   |   66 +
    12274  src/liblzma/delta/delta_common.h                   |   44 +
    12275  src/liblzma/delta/delta_decoder.c                  |   82 ++
    12276  src/liblzma/delta/delta_decoder.h                  |   32 +
    12277  src/liblzma/delta/delta_encoder.c                  |  119 ++
    12278  src/liblzma/delta/delta_encoder.h                  |   30 +
     12706 src/liblzma/{common => delta}/delta_common.c       |    2 +-
     12707 src/liblzma/{common => delta}/delta_common.h       |    0
     12708 src/liblzma/{common => delta}/delta_decoder.c      |   21 +
     12709 src/liblzma/{common => delta}/delta_decoder.h      |    4 +
     12710 src/liblzma/{common => delta}/delta_encoder.c      |   21 +
     12711 src/liblzma/{common => delta}/delta_encoder.h      |    2 +
    1227912712 src/liblzma/lz/Makefile.am                         |   35 +-
    1228012713 src/liblzma/lz/bt2.c                               |   27 -
     
    1229412727 src/liblzma/lz/lz_encoder_hash.h                   |  104 ++
    1229512728 src/liblzma/lz/lz_encoder_mf.c                     |  780 ++++++++++++
    12296  src/liblzma/lz/lz_encoder_private.h                |   40 -
    1229712729 src/liblzma/lz/match_c.h                           |  412 ------
    1229812730 src/liblzma/lz/match_h.h                           |   69 --
     
    1230212734 src/liblzma/lzma/lzma2_decoder.h                   |   35 +
    1230312735 src/liblzma/lzma/lzma2_encoder.c                   |  406 ++++++
    12304  src/liblzma/lzma/lzma2_encoder.h                   |   34 +
     12736 .../{common/raw_common.h => lzma/lzma2_encoder.h}  |   22 +-
    1230512737 src/liblzma/lzma/lzma_common.h                     |  208 +++-
    1230612738 src/liblzma/lzma/lzma_decoder.c                    | 1306 ++++++++++++--------
     
    1232112753 src/liblzma/rangecoder/price.h                     |  111 ++
    1232212754 src/liblzma/rangecoder/price_table.c               |   84 +-
    12323  src/liblzma/rangecoder/price_table_gen.c           |   55 -
    1232412755 src/liblzma/rangecoder/price_table_init.c          |   33 +-
    12325  src/liblzma/rangecoder/price_tablegen.c            |   56 +
     12756 .../{price_table_gen.c => price_tablegen.c}        |   19 +-
    1232612757 src/liblzma/rangecoder/range_common.h              |   17 +-
    1232712758 src/liblzma/rangecoder/range_decoder.h             |  209 ++--
     
    1233012761 src/liblzma/simple/simple_coder.c                  |    8 +-
    1233112762 src/liblzma/simple/simple_decoder.c                |   47 +
    12332  src/liblzma/simple/simple_decoder.h                |   29 +
     12763 .../raw_decoder.h => simple/simple_decoder.h}      |   18 +-
    1233312764 src/liblzma/simple/simple_encoder.c                |   45 +
    12334  src/liblzma/simple/simple_encoder.h                |   30 +
     12765 .../raw_encoder.h => simple/simple_encoder.h}      |   17 +-
    1233512766 src/liblzma/subblock/Makefile.am                   |    4 +-
    1233612767 src/liblzma/subblock/subblock_decoder.c            |   20 +-
     
    1242412855 tests/files/good-1-lzma2-2.lzma                    |  Bin 0 -> 424 bytes
    1242512856 tests/files/good-1-lzma2-3.lzma                    |  Bin 0 -> 408 bytes
    12426  tests/files/good-1-sparc-lzma2.lzma                |  Bin 0 -> 2292 bytes
    12427  tests/files/good-1-x86-lzma2.lzma                  |  Bin 0 -> 1936 bytes
     12857 ...gle-sparc-lzma.lzma => good-1-sparc-lzma2.lzma} |  Bin 2263 -> 2292 bytes
     12858 ...-single-x86-lzma.lzma => good-1-x86-lzma2.lzma} |  Bin 1909 -> 1936 bytes
    1242812859 tests/files/good-2-lzma2.lzma                      |  Bin 0 -> 92 bytes
    1242912860 tests/files/good-cat-single-none-pad.lzma          |  Bin 64 -> 0 bytes
     
    1244812879 tests/files/good-single-none-pad.lzma              |  Bin 32 -> 0 bytes
    1244912880 tests/files/good-single-none.lzma                  |  Bin 30 -> 0 bytes
    12450  tests/files/good-single-sparc-lzma.lzma            |  Bin 2263 -> 0 bytes
    1245112881 tests/files/good-single-subblock-lzma.lzma         |  Bin 50 -> 0 bytes
    1245212882 tests/files/good-single-subblock_implicit.lzma     |  Bin 35 -> 0 bytes
    1245312883 tests/files/good-single-subblock_rle.lzma          |  Bin 118 -> 0 bytes
    12454  tests/files/good-single-x86-lzma.lzma              |  Bin 1909 -> 0 bytes
    1245512884 tests/files/malicious-multi-metadata-64PiB.lzma    |  Bin 51 -> 0 bytes
    1245612885 tests/files/malicious-single-subblock-256MiB.lzma  |  Bin 30 -> 0 bytes
     
    1246712896 tests/test_stream_flags.c                          |    4 +-
    1246812897 tests/tests.h                                      |    8 +
    12469  294 files changed, 9768 insertions(+), 8195 deletions(-)
     12898 277 files changed, 9050 insertions(+), 7477 deletions(-)
    1247012899
    1247112900commit 57b9a145a527f0716822615e5ed536d33aebd3fc
     
    1254312972    has been decided.
    1254412973
    12545  configure.ac                                   |  41 +-
    12546  debug/full_flush.c                             |  16 +-
    12547  debug/sync_flush.c                             |  15 +-
    12548  src/common/bswap.h                             |  44 ++
    12549  src/common/integer.h                           | 167 +++++
    12550  src/liblzma/api/Makefile.am                    |   5 +-
    12551  src/liblzma/api/lzma.h                         |   9 +-
    12552  src/liblzma/api/lzma/alone.h                   |  32 +-
    12553  src/liblzma/api/lzma/auto.h                    |   7 +-
    12554  src/liblzma/api/lzma/base.h                    |  15 +
    12555  src/liblzma/api/lzma/block.h                   | 306 +++-------
    12556  src/liblzma/api/lzma/check.h                   |  18 +-
    12557  src/liblzma/api/lzma/copy.h                    |  29 -
    12558  src/liblzma/api/lzma/easy.h                    |  61 +-
    12559  src/liblzma/api/lzma/extra.h                   | 114 ----
    12560  src/liblzma/api/lzma/filter.h                  |   5 +-
    12561  src/liblzma/api/lzma/index.h                   | 204 ++++++-
    12562  src/liblzma/api/lzma/index_hash.h              |  94 +++
    12563  src/liblzma/api/lzma/info.h                    | 315 ----------
    12564  src/liblzma/api/lzma/lzma.h                    |   2 +-
    12565  src/liblzma/api/lzma/metadata.h                | 100 ---
    12566  src/liblzma/api/lzma/raw.h                     |  20 +-
    12567  src/liblzma/api/lzma/stream.h                  | 157 +----
    12568  src/liblzma/api/lzma/stream_flags.h            | 146 +++--
    12569  src/liblzma/api/lzma/version.h                 |   2 +-
    12570  src/liblzma/api/lzma/vli.h                     |  83 ++-
    12571  src/liblzma/check/Makefile.am                  |   1 -
    12572  src/liblzma/check/check.c                      |  55 +-
    12573  src/liblzma/check/check.h                      |  47 +-
    12574  src/liblzma/check/check_byteswap.h             |  43 --
    12575  src/liblzma/check/crc32_init.c                 |   2 +-
    12576  src/liblzma/check/crc64_init.c                 |   2 +-
    12577  src/liblzma/check/crc_macros.h                 |   2 +-
    12578  src/liblzma/check/sha256.c                     |  53 +-
    12579  src/liblzma/common/Makefile.am                 |  31 +-
    12580  src/liblzma/common/alignment.c                 |   5 +-
    12581  src/liblzma/common/alone_decoder.c             |  77 +--
    12582  src/liblzma/common/alone_encoder.c             |  99 ++-
    12583  src/liblzma/common/auto_decoder.c              |  18 +-
    12584  src/liblzma/common/block_decoder.c             | 298 +++------
    12585  src/liblzma/common/block_encoder.c             | 228 ++-----
    12586  src/liblzma/common/block_header_decoder.c      | 400 +++---------
    12587  src/liblzma/common/block_header_encoder.c      | 207 +++----
    12588  src/liblzma/common/block_private.h             |  51 +-
    12589  src/liblzma/common/block_util.c                |  73 +++
    12590  src/liblzma/common/common.h                    |  44 +-
    12591  src/liblzma/common/copy_coder.c                | 144 -----
    12592  src/liblzma/common/copy_coder.h                |  31 -
    12593  src/liblzma/common/delta_common.c              |   4 -
    12594  src/liblzma/common/delta_common.h              |   4 -
    12595  src/liblzma/common/delta_decoder.c             |  55 +-
    12596  src/liblzma/common/delta_encoder.c             |   7 +-
    12597  src/liblzma/common/easy.c                      | 122 ++++
    12598  src/liblzma/common/easy_common.c               |  54 --
    12599  src/liblzma/common/easy_common.h               |  28 -
    12600  src/liblzma/common/easy_multi.c                | 103 ----
    12601  src/liblzma/common/easy_single.c               |  37 --
    12602  src/liblzma/common/extra.c                     |  34 --
    12603  src/liblzma/common/features.c                  |   4 -
    12604  src/liblzma/common/filter_flags_decoder.c      | 384 ++++--------
    12605  src/liblzma/common/filter_flags_encoder.c      | 120 +---
    12606  src/liblzma/common/index.c                     | 773 ++++++++++++++++++++---
    12607  src/liblzma/common/index.h                     |  67 ++
    12608  src/liblzma/common/index_decoder.c             | 252 ++++++++
    12609  src/liblzma/common/index_encoder.c             | 222 +++++++
    12610  src/liblzma/common/index_encoder.h             |  30 +
    12611  src/liblzma/common/index_hash.c                | 340 +++++++++++
    12612  src/liblzma/common/info.c                      | 814 -------------------------
    12613  src/liblzma/common/memory_usage.c              |   1 -
    12614  src/liblzma/common/metadata_decoder.c          | 578 ------------------
    12615  src/liblzma/common/metadata_decoder.h          |  31 -
    12616  src/liblzma/common/metadata_encoder.c          | 435 -------------
    12617  src/liblzma/common/metadata_encoder.h          |  30 -
    12618  src/liblzma/common/raw_common.c                | 178 ++----
    12619  src/liblzma/common/raw_common.h                |   5 +-
    12620  src/liblzma/common/raw_decoder.c               |  19 +-
    12621  src/liblzma/common/raw_decoder.h               |   3 +-
    12622  src/liblzma/common/raw_encoder.c               | 101 +--
    12623  src/liblzma/common/raw_encoder.h               |   3 +-
    12624  src/liblzma/common/stream_common.h             |   3 +
    12625  src/liblzma/common/stream_decoder.c            | 458 +++++---------
    12626  src/liblzma/common/stream_decoder.h            |  28 +
    12627  src/liblzma/common/stream_encoder.c            | 282 +++++++++
    12628  src/liblzma/common/stream_encoder.h            |  30 +
    12629  src/liblzma/common/stream_encoder_multi.c      | 445 --------------
    12630  src/liblzma/common/stream_encoder_multi.h      |  26 -
    12631  src/liblzma/common/stream_encoder_single.c     | 219 -------
    12632  src/liblzma/common/stream_flags_decoder.c      | 260 ++------
    12633  src/liblzma/common/stream_flags_encoder.c      |  56 +-
    12634  src/liblzma/common/stream_flags_equal.c        |  36 ++
    12635  src/liblzma/common/vli_decoder.c               |  68 ++-
    12636  src/liblzma/common/vli_encoder.c               |  59 +-
    12637  src/liblzma/common/vli_reverse_decoder.c       |  55 --
    12638  src/liblzma/lz/lz_decoder.c                    |   6 +-
    12639  src/liblzma/lz/lz_decoder.h                    |  10 +-
    12640  src/liblzma/lzma/lzma_decoder.c                |  13 +-
    12641  src/liblzma/lzma/lzma_decoder.h                |  10 +-
    12642  src/liblzma/simple/simple_coder.c              |  29 +-
    12643  src/liblzma/simple/simple_private.h            |   4 -
    12644  src/liblzma/subblock/subblock_decoder.c        | 106 +---
    12645  src/liblzma/subblock/subblock_decoder_helper.c |   5 +-
    12646  src/liblzma/subblock/subblock_encoder.c        |   8 +-
    12647  src/lzma/args.c                                |  22 +-
    12648  src/lzma/args.h                                |   2 -
    12649  src/lzma/error.c                               |   6 +
    12650  src/lzma/process.c                             |  26 +-
    12651  src/lzmadec/lzmadec.c                          |   8 +-
    12652  tests/Makefile.am                              |   5 +-
    12653  tests/test_block_header.c                      | 411 +++++--------
    12654  tests/test_compress.sh                         |  65 +-
    12655  tests/test_filter_flags.c                      | 116 ++--
    12656  tests/test_index.c                             | 504 ++++++++++++++-
    12657  tests/test_info.c                              | 717 ----------------------
    12658  tests/test_stream_flags.c                      | 134 ++--
    12659  tests/tests.h                                  |  14 +-
    12660  115 files changed, 4846 insertions(+), 8156 deletions(-)
     12974 configure.ac                                       |  41 +-
     12975 debug/full_flush.c                                 |  16 +-
     12976 debug/sync_flush.c                                 |  15 +-
     12977 .../check/check_byteswap.h => common/bswap.h}      |  15 +-
     12978 src/common/integer.h                               | 167 +++++
     12979 src/liblzma/api/Makefile.am                        |   5 +-
     12980 src/liblzma/api/lzma.h                             |   9 +-
     12981 src/liblzma/api/lzma/alone.h                       |  32 +-
     12982 src/liblzma/api/lzma/auto.h                        |   7 +-
     12983 src/liblzma/api/lzma/base.h                        |  15 +
     12984 src/liblzma/api/lzma/block.h                       | 306 +++-----
     12985 src/liblzma/api/lzma/check.h                       |  18 +-
     12986 src/liblzma/api/lzma/copy.h                        |  29 -
     12987 src/liblzma/api/lzma/easy.h                        |  61 +-
     12988 src/liblzma/api/lzma/extra.h                       | 114 ---
     12989 src/liblzma/api/lzma/filter.h                      |   5 +-
     12990 src/liblzma/api/lzma/index.h                       | 204 +++++-
     12991 src/liblzma/api/lzma/index_hash.h                  |  94 +++
     12992 src/liblzma/api/lzma/info.h                        | 315 --------
     12993 src/liblzma/api/lzma/lzma.h                        |   2 +-
     12994 src/liblzma/api/lzma/metadata.h                    | 100 ---
     12995 src/liblzma/api/lzma/raw.h                         |  20 +-
     12996 src/liblzma/api/lzma/stream.h                      | 157 +---
     12997 src/liblzma/api/lzma/stream_flags.h                | 146 ++--
     12998 src/liblzma/api/lzma/version.h                     |   2 +-
     12999 src/liblzma/api/lzma/vli.h                         |  83 +--
     13000 src/liblzma/check/Makefile.am                      |   1 -
     13001 src/liblzma/check/check.c                          |  55 +-
     13002 src/liblzma/check/check.h                          |  47 +-
     13003 src/liblzma/check/crc32_init.c                     |   2 +-
     13004 src/liblzma/check/crc64_init.c                     |   2 +-
     13005 src/liblzma/check/crc_macros.h                     |   2 +-
     13006 src/liblzma/check/sha256.c                         |  53 +-
     13007 src/liblzma/common/Makefile.am                     |  31 +-
     13008 src/liblzma/common/alignment.c                     |   5 +-
     13009 src/liblzma/common/alone_decoder.c                 |  77 +-
     13010 src/liblzma/common/alone_encoder.c                 |  99 ++-
     13011 src/liblzma/common/auto_decoder.c                  |  18 +-
     13012 src/liblzma/common/block_decoder.c                 | 298 ++------
     13013 src/liblzma/common/block_encoder.c                 | 228 ++----
     13014 src/liblzma/common/block_header_decoder.c          | 400 ++--------
     13015 src/liblzma/common/block_header_encoder.c          | 207 ++----
     13016 src/liblzma/common/block_private.h                 |  51 +-
     13017 src/liblzma/common/block_util.c                    |  73 ++
     13018 src/liblzma/common/common.h                        |  44 +-
     13019 src/liblzma/common/copy_coder.c                    | 144 ----
     13020 src/liblzma/common/copy_coder.h                    |  31 -
     13021 src/liblzma/common/delta_common.c                  |   4 -
     13022 src/liblzma/common/delta_common.h                  |   4 -
     13023 src/liblzma/common/delta_decoder.c                 |  55 +-
     13024 src/liblzma/common/delta_encoder.c                 |   7 +-
     13025 src/liblzma/common/{easy_multi.c => easy.c}        |  87 ++-
     13026 src/liblzma/common/easy_common.c                   |  54 --
     13027 src/liblzma/common/extra.c                         |  34 -
     13028 src/liblzma/common/features.c                      |   4 -
     13029 src/liblzma/common/filter_flags_decoder.c          | 384 +++-------
     13030 src/liblzma/common/filter_flags_encoder.c          | 120 +--
     13031 src/liblzma/common/index.c                         | 773 ++++++++++++++++---
     13032 src/liblzma/common/index.h                         |  67 ++
     13033 src/liblzma/common/index_decoder.c                 | 252 +++++++
     13034 src/liblzma/common/index_encoder.c                 | 222 ++++++
     13035 .../{stream_encoder_multi.h => index_encoder.h}    |  18 +-
     13036 src/liblzma/common/index_hash.c                    | 340 +++++++++
     13037 src/liblzma/common/info.c                          | 814 ---------------------
     13038 src/liblzma/common/memory_usage.c                  |   1 -
     13039 src/liblzma/common/metadata_decoder.c              | 578 ---------------
     13040 src/liblzma/common/metadata_decoder.h              |  31 -
     13041 src/liblzma/common/metadata_encoder.c              | 435 -----------
     13042 src/liblzma/common/raw_common.c                    | 178 ++---
     13043 src/liblzma/common/raw_common.h                    |   5 +-
     13044 src/liblzma/common/raw_decoder.c                   |  19 +-
     13045 src/liblzma/common/raw_decoder.h                   |   3 +-
     13046 src/liblzma/common/raw_encoder.c                   | 101 +--
     13047 src/liblzma/common/raw_encoder.h                   |   3 +-
     13048 src/liblzma/common/stream_common.h                 |   3 +
     13049 src/liblzma/common/stream_decoder.c                | 458 ++++--------
     13050 .../common/{easy_common.h => stream_decoder.h}     |  14 +-
     13051 src/liblzma/common/stream_encoder.c                | 282 +++++++
     13052 .../{metadata_encoder.h => stream_encoder.h}       |  14 +-
     13053 src/liblzma/common/stream_encoder_multi.c          | 445 -----------
     13054 src/liblzma/common/stream_encoder_single.c         | 219 ------
     13055 src/liblzma/common/stream_flags_decoder.c          | 260 ++-----
     13056 src/liblzma/common/stream_flags_encoder.c          |  56 +-
     13057 .../common/{easy_single.c => stream_flags_equal.c} |  27 +-
     13058 src/liblzma/common/vli_decoder.c                   |  68 +-
     13059 src/liblzma/common/vli_encoder.c                   |  59 +-
     13060 src/liblzma/common/vli_reverse_decoder.c           |  55 --
     13061 src/liblzma/lz/lz_decoder.c                        |   6 +-
     13062 src/liblzma/lz/lz_decoder.h                        |  10 +-
     13063 src/liblzma/lzma/lzma_decoder.c                    |  13 +-
     13064 src/liblzma/lzma/lzma_decoder.h                    |  10 +-
     13065 src/liblzma/simple/simple_coder.c                  |  29 +-
     13066 src/liblzma/simple/simple_private.h                |   4 -
     13067 src/liblzma/subblock/subblock_decoder.c            | 106 +--
     13068 src/liblzma/subblock/subblock_decoder_helper.c     |   5 +-
     13069 src/liblzma/subblock/subblock_encoder.c            |   8 +-
     13070 src/lzma/args.c                                    |  22 +-
     13071 src/lzma/args.h                                    |   2 -
     13072 src/lzma/error.c                                   |   6 +
     13073 src/lzma/process.c                                 |  26 +-
     13074 src/lzmadec/lzmadec.c                              |   8 +-
     13075 tests/Makefile.am                                  |   5 +-
     13076 tests/test_block_header.c                          | 411 ++++-------
     13077 tests/test_compress.sh                             |  65 +-
     13078 tests/test_filter_flags.c                          | 116 ++-
     13079 tests/test_index.c                                 | 504 ++++++++++++-
     13080 tests/test_info.c                                  | 717 ------------------
     13081 tests/test_stream_flags.c                          | 134 ++--
     13082 tests/tests.h                                      |  14 +-
     13083 109 files changed, 4655 insertions(+), 7965 deletions(-)
    1266113084
    1266213085commit bf6348d1a3ff09fdc06940468f318f75ffa6af11
     
    1282613249    liblzma's API.
    1282713250
    12828  doc/liblzma-security.txt             |  14 +-
    12829  src/liblzma/api/lzma/base.h          |   4 +-
    12830  src/liblzma/api/lzma/memlimit.h      |  10 +-
    12831  src/liblzma/api/lzma/stream.h        |   4 +-
    12832  src/liblzma/common/Makefile.am       |   2 +-
    12833  src/liblzma/common/memory_limiter.c  | 288 +++++++++++++++++++++++++++++++++++
    12834  src/liblzma/common/memory_limitter.c | 288 -----------------------------------
    12835  src/lzma/list.c                      |   6 +-
    12836  src/lzmadec/lzmadec.c                |  12 +-
    12837  tests/test_memlimit.c                |   4 +-
    12838  10 files changed, 316 insertions(+), 316 deletions(-)
     13251 doc/liblzma-security.txt                                   | 14 +++++++-------
     13252 src/liblzma/api/lzma/base.h                                |  4 ++--
     13253 src/liblzma/api/lzma/memlimit.h                            | 10 +++++-----
     13254 src/liblzma/api/lzma/stream.h                              |  4 ++--
     13255 src/liblzma/common/Makefile.am                             |  2 +-
     13256 src/liblzma/common/{memory_limitter.c => memory_limiter.c} |  2 +-
     13257 src/lzma/list.c                                            |  6 +++---
     13258 src/lzmadec/lzmadec.c                                      | 12 ++++++------
     13259 tests/test_memlimit.c                                      |  4 ++--
     13260 9 files changed, 29 insertions(+), 29 deletions(-)
    1283913261
    1284013262commit beeb81060821dfec4e7898e0d44b7900dcb2215e
     
    1365714079    This doesn't change anything in the file format.
    1365814080
    13659  src/liblzma/common/Makefile.am     |  14 ++-
    13660  src/liblzma/common/delta_coder.c   | 189 -------------------------------------
    13661  src/liblzma/common/delta_coder.h   |  31 ------
    13662  src/liblzma/common/delta_common.c  |  70 ++++++++++++++
    13663  src/liblzma/common/delta_common.h  |  48 ++++++++++
    13664  src/liblzma/common/delta_decoder.c | 102 ++++++++++++++++++++
    13665  src/liblzma/common/delta_decoder.h |  28 ++++++
    13666  src/liblzma/common/delta_encoder.c |  97 +++++++++++++++++++
    13667  src/liblzma/common/delta_encoder.h |  28 ++++++
    13668  src/liblzma/common/raw_decoder.c   |   2 +-
    13669  src/liblzma/common/raw_encoder.c   |   2 +-
    13670  11 files changed, 387 insertions(+), 224 deletions(-)
     14081 src/liblzma/common/Makefile.am                     |  14 +-
     14082 src/liblzma/common/delta_coder.c                   | 189 ---------------------
     14083 src/liblzma/common/delta_common.c                  |  70 ++++++++
     14084 src/liblzma/common/delta_common.h                  |  48 ++++++
     14085 src/liblzma/common/delta_decoder.c                 | 102 +++++++++++
     14086 .../common/{delta_coder.h => delta_decoder.h}      |  11 +-
     14087 src/liblzma/common/delta_encoder.c                 |  97 +++++++++++
     14088 src/liblzma/common/delta_encoder.h                 |  28 +++
     14089 src/liblzma/common/raw_decoder.c                   |   2 +-
     14090 src/liblzma/common/raw_encoder.c                   |   2 +-
     14091 10 files changed, 363 insertions(+), 200 deletions(-)
    1367114092
    1367214093commit 61dc82f3e306b25ce3cd3d529df9ec7a0ec04b73
     
    1400214423    Added precomputed range coder probability price table.
    1400314424
    14004  src/liblzma/common/init_encoder.c         |  5 ++-
    14005  src/liblzma/rangecoder/Makefile.am        |  9 +++-
    14006  src/liblzma/rangecoder/price_table.c      | 70 +++++++++++++++++++++++++++++++
    14007  src/liblzma/rangecoder/price_table_gen.c  | 55 ++++++++++++++++++++++++
    14008  src/liblzma/rangecoder/price_table_init.c | 48 +++++++++++++++++++++
    14009  src/liblzma/rangecoder/range_common.h     |  4 +-
    14010  src/liblzma/rangecoder/range_encoder.c    | 46 --------------------
    14011  src/liblzma/rangecoder/range_encoder.h    | 21 +++++-----
    14012  8 files changed, 197 insertions(+), 61 deletions(-)
     14425 src/liblzma/common/init_encoder.c                  |  5 +-
     14426 src/liblzma/rangecoder/Makefile.am                 |  9 ++-
     14427 src/liblzma/rangecoder/price_table.c               | 70 ++++++++++++++++++++++
     14428 src/liblzma/rangecoder/price_table_gen.c           | 55 +++++++++++++++++
     14429 .../{range_encoder.c => price_table_init.c}        |  6 +-
     14430 src/liblzma/rangecoder/range_common.h              |  4 +-
     14431 src/liblzma/rangecoder/range_encoder.h             | 21 ++++---
     14432 7 files changed, 153 insertions(+), 17 deletions(-)
    1401314433
    1401414434commit 362dc3843b373c1007a50a4719f378981f18ae03
     
    1420014620 tests/files/bad-cat-single-none-pad_garbage_2.lzma | Bin 0 -> 65 bytes
    1420114621 tests/files/bad-cat-single-none-pad_garbage_3.lzma | Bin 0 -> 65 bytes
    14202  tests/files/bad-single-data_after_eopm.lzma        | Bin 55 -> 0 bytes
    14203  tests/files/bad-single-data_after_eopm_1.lzma      | Bin 0 -> 55 bytes
     14622 ...eopm.lzma => bad-single-data_after_eopm_1.lzma} | Bin
    1420414623 tests/files/bad-single-none-truncated.lzma         | Bin 0 -> 29 bytes
    14205  7 files changed, 18 insertions(+), 3 deletions(-)
     14624 6 files changed, 18 insertions(+), 3 deletions(-)
    1420614625
    1420714626commit b4943ccf73b64fc93a90a23474509c316f55eb2b
     
    1429314712    Cleaned up the tests/files directory.
    1429414713
    14295  tests/files/bad-single-subblock-padding_loop.lzma   | Bin 0 -> 43 bytes
    14296  tests/files/bad-single-subblock1023-slow.lzma       | Bin 0 -> 7886 bytes
    14297  tests/files/malicious-single-subblock-loop.lzma     | Bin 43 -> 0 bytes
    14298  tests/files/malicious-single-subblock-lzma.lzma     | Bin 505 -> 0 bytes
    14299  tests/files/malicious-single-subblock1023-slow.lzma | Bin 7886 -> 0 bytes
    14300  5 files changed, 0 insertions(+), 0 deletions(-)
     14714 ...ck-loop.lzma => bad-single-subblock-padding_loop.lzma} | Bin
     14715 ...ck1023-slow.lzma => bad-single-subblock1023-slow.lzma} | Bin
     14716 tests/files/malicious-single-subblock-lzma.lzma           | Bin 505 -> 0 bytes
     14717 3 files changed, 0 insertions(+), 0 deletions(-)
    1430114718
    1430214719commit 908b2ac604b9940369d7fe8a45e9eb6da5d2a24c
     
    1448414901    that otherwise work with this code.
    1448514902
    14486  src/liblzma/check/Makefile.am |   4 +-
    14487  src/liblzma/check/crc32_x86.S | 217 ++++++++++++++++++++++++++++++++++++++++++
    14488  src/liblzma/check/crc32_x86.s | 217 ------------------------------------------
    14489  src/liblzma/check/crc64_x86.S | 203 +++++++++++++++++++++++++++++++++++++++
    14490  src/liblzma/check/crc64_x86.s | 203 ---------------------------------------
    14491  5 files changed, 422 insertions(+), 422 deletions(-)
     14903 src/liblzma/check/Makefile.am                  | 4 ++--
     14904 src/liblzma/check/{crc32_x86.s => crc32_x86.S} | 0
     14905 src/liblzma/check/{crc64_x86.s => crc64_x86.S} | 0
     14906 3 files changed, 2 insertions(+), 2 deletions(-)
    1449214907
    1449314908commit ec1c82b2e82f395f6e8e19ac212a639644330cd7
  • TabularUnified xz/vendor/current/INSTALL

    r1791 r1993  
    247247                it is known to not cause problems.
    248248
     249    --enable-external-sha256
     250                Try to use SHA-256 code from the operating system libc
     251                or similar base system libraries. This doesn't try to
     252                use OpenSSL or libgcrypt or such libraries.
     253
     254                The reasons to use this option:
     255
     256                  - It makes liblzma slightly smaller.
     257
     258                  - It might improve SHA-256 speed if the implementation
     259                    in the operating is very good (but see below).
     260
     261                External SHA-256 is disabled by default for two reasons:
     262
     263                  - On some operating systems the symbol names of the
     264                    SHA-256 functions conflict with OpenSSL's libcrypto.
     265                    This causes weird problems such as decompression
     266                    errors if an application is linked against both
     267                    liblzma and libcrypto. This problem affects at least
     268                    FreeBSD 10 and older and MINIX 3.3.0 and older, but
     269                    other OSes that provide a function "SHA256_Init" might
     270                    also be affected. FreeBSD 11 has the problem fixed.
     271                    NetBSD had the problem but it was fixed it in 2009
     272                    already. OpenBSD uses "SHA256Init" and thus never had
     273                    a conflict with libcrypto.
     274
     275                  - The SHA-256 code in liblzma is faster than the SHA-256
     276                    code provided by some operating systems. If you are
     277                    curious, build two copies of xz (internal and external
     278                    SHA-256) and compare the decompression (xz --test)
     279                    times:
     280
     281                        dd if=/dev/zero bs=1024k count=1024 \
     282                            | xz -v -0 -Csha256 > foo.xz
     283                        time xz --test foo.xz
     284
    249285    --disable-xz
    250286    --disable-xzdec
     
    363399                                calls any liblzma functions from more than
    364400                                one thread, something bad may happen.
     401
     402    --enable-sandbox=METHOD
     403                This feature is EXPERIMENTAL in the XZ Utils 5.2.x and
     404                disabled by default. If you test this, look especially
     405                if message translations and locale-specific decimal and
     406                thousand separators (e.g. xz --list foo.xz) work the
     407                same way as they do without sandboxing.
     408
     409                There is limited sandboxing support in the xz tool. If
     410                built with sandbox support, it's used automatically when
     411                (de)compressing exactly one file to standard output and
     412                the options --files or --files0 weren't used. This is a
     413                common use case, for example, (de)compressing .tar.xz
     414                files via GNU tar. The sandbox is also used for
     415                single-file `xz --test' or `xz --list'.
     416
     417                Supported METHODs:
     418
     419                        auto    Look for a supported sandboxing method
     420                                and use it if found. If no method is
     421                                found, then sandboxing isn't used.
     422
     423                        no      Disable sandboxing support.
     424
     425                        capsicum
     426                                Use Capsicum (FreeBSD >= 10) for
     427                                sandboxing. If no Capsicum support
     428                                is found, configure will give an error.
    365429
    366430    --enable-symbol-versions
  • TabularUnified xz/vendor/current/Makefile.in

    r1791 r1993  
    9292subdir = .
    9393ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    94 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    95         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    96         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    97         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    98         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    99         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    100         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    101         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    102         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    103         $(top_srcdir)/m4/tuklib_common.m4 \
     94am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     95        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     96        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     97        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     98        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     99        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     100        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     101        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     102        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     103        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    104104        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    105105        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    278278AUTOMAKE = @AUTOMAKE@
    279279AWK = @AWK@
     280CAPSICUM_LIB = @CAPSICUM_LIB@
    280281CC = @CC@
    281282CCAS = @CCAS@
     
    782783        else :; fi
    783784dist-gzip: distdir
    784         tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz
     785        tardir=$(distdir) && $(am__tar) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).tar.gz
    785786        $(am__post_remove_distdir)
    786787
     
    808809                       "deprecated." >&2
    809810        @echo WARNING: "It will be removed altogether in Automake 2.0" >&2
    810         shar $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).shar.gz
     811        shar $(distdir) | eval GZIP= gzip $(GZIP_ENV) -c >$(distdir).shar.gz
    811812        $(am__post_remove_distdir)
    812813
     
    826827        case '$(DIST_ARCHIVES)' in \
    827828        *.tar.gz*) \
    828           GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
     829          eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).tar.gz | $(am__untar) ;;\
    829830        *.tar.bz2*) \
    830831          bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
     
    836837          uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
    837838        *.shar.gz*) \
    838           GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
     839          eval GZIP= gzip $(GZIP_ENV) -dc $(distdir).shar.gz | unshar ;;\
    839840        *.zip*) \
    840841          unzip $(distdir).zip ;;\
  • TabularUnified xz/vendor/current/NEWS

    r1791 r1993  
    22XZ Utils Release Notes
    33======================
     4
     55.2.3 (2016-12-30)
     6
     7    * xz:
     8
     9        - Always close a file before trying to delete it to avoid
     10          problems on some operating system and file system combinations.
     11
     12        - Fixed copying of file timestamps on Windows.
     13
     14        - Added experimental (disabled by default) sandbox support using
     15          Capsicum (FreeBSD >= 10). See --enable-sandbox in INSTALL.
     16
     17    * C99/C11 conformance fixes to liblzma. The issues affected at least
     18      some builds using link-time optimizations.
     19
     20    * Fixed bugs in the rarely-used function lzma_index_dup().
     21
     22    * Use of external SHA-256 code is now disabled by default.
     23      It can still be enabled by passing --enable-external-sha256
     24      to configure. The reasons to disable it by default (see INSTALL
     25      for more details):
     26
     27        - Some OS-specific SHA-256 implementations conflict with
     28          OpenSSL and cause problems in programs that link against both
     29          liblzma and libcrypto. At least FreeBSD 10 and MINIX 3.3.0
     30          are affected.
     31
     32        - The internal SHA-256 is faster than the SHA-256 code in
     33          some operating systems.
     34
     35    * Changed CPU core count detection to use sched_getaffinity() on
     36      GNU/Linux and GNU/kFreeBSD.
     37
     38    * Fixes to the build-system and xz to make xz buildable even when
     39      encoders, decoders, or threading have been disabled from libilzma
     40      using configure options. These fixes added two new #defines to
     41      config.h: HAVE_ENCODERS and HAVE_DECODERS.
     42
    443
    5445.2.2 (2015-09-29)
  • TabularUnified xz/vendor/current/THANKS

    r1791 r1993  
    6565  - Rafał MuÅŒyło
    6666  - Adrien Nader
     67  - Evan Nemerson
    6768  - Hongbo Ni
    6869  - Jonathan Nieder
     
    7576  - Elbert Pol
    7677  - Mikko Pouru
     78  - Rich Prohaska
    7779  - Trần Ngọc Quân
    7880  - Pavel Raiskup
     
    9092  - Dan Shechter
    9193  - Stuart Shelton
     94  - Sebastian Andrzej Siewior
    9295  - Brad Smith
    9396  - Jonathan Stott
     
    103106  - Bert Wesarg
    104107  - Fredrik Wikstrom
     108  - Jim Wilcoxson
    105109  - Ralf Wildenhues
    106110  - Charles Wilson
  • TabularUnified xz/vendor/current/aclocal.m4

    r1791 r1993  
    755755])
    756756
    757 # Copyright (C) 2003-2014 Free Software Foundation, Inc.
    758 #
    759 # This file is free software; the Free Software Foundation
    760 # gives unlimited permission to copy and/or distribute it,
    761 # with or without modifications, as long as this notice is preserved.
    762 
    763 # AM_PROG_MKDIR_P
    764 # ---------------
    765 # Check for 'mkdir -p'.
    766 AC_DEFUN([AM_PROG_MKDIR_P],
    767 [AC_PREREQ([2.60])dnl
    768 AC_REQUIRE([AC_PROG_MKDIR_P])dnl
    769 dnl FIXME we are no longer going to remove this! adjust warning
    770 dnl FIXME message accordingly.
    771 AC_DIAGNOSE([obsolete],
    772 [$0: this macro is deprecated, and will soon be removed.
    773 You should use the Autoconf-provided 'AC][_PROG_MKDIR_P' macro instead,
    774 and use '$(MKDIR_P)' instead of '$(mkdir_p)'in your Makefile.am files.])
    775 dnl Automake 1.8 to 1.9.6 used to define mkdir_p.  We now use MKDIR_P,
    776 dnl while keeping a definition of mkdir_p for backward compatibility.
    777 dnl @MKDIR_P@ is magic: AC_OUTPUT adjusts its value for each Makefile.
    778 dnl However we cannot define mkdir_p as $(MKDIR_P) for the sake of
    779 dnl Makefile.ins that do not define MKDIR_P, so we do our own
    780 dnl adjustment using top_builddir (which is defined more often than
    781 dnl MKDIR_P).
    782 AC_SUBST([mkdir_p], ["$MKDIR_P"])dnl
    783 case $mkdir_p in
    784   [[\\/$]]* | ?:[[\\/]]*) ;;
    785   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    786 esac
    787 ])
    788 
    789757# Helper functions for option handling.                     -*- Autoconf -*-
    790758
     
    12031171]) # _AM_PROG_TAR
    12041172
     1173m4_include([m4/ax_check_capsicum.m4])
    12051174m4_include([m4/ax_pthread.m4])
    12061175m4_include([m4/getopt.m4])
  • TabularUnified xz/vendor/current/build-aux/config.rpath

    r1791 r1993  
    33# run time search path of shared libraries in an executable.
    44#
    5 #   Copyright 1996-2010 Free Software Foundation, Inc.
     5#   Copyright 1996-2014 Free Software Foundation, Inc.
    66#   Taken from GNU libtool, 2001
    77#   Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
     
    2626#   directory and/or the installation directory.
    2727
    28 # All known linkers require a `.a' archive for static linking (except MSVC,
     28# All known linkers require a '.a' archive for static linking (except MSVC,
    2929# which needs '.lib').
    3030libext=a
     
    5858      wl='-Wl,'
    5959      ;;
    60     darwin*)
    61       case $cc_basename in
    62         xlc*)
    63           wl='-Wl,'
    64           ;;
    65       esac
    66       ;;
    6760    mingw* | cygwin* | pw32* | os2* | cegcc*)
    6861      ;;
     
    7366      wl='-Wl,'
    7467      ;;
    75     newsos6)
    76       ;;
    77     linux* | k*bsd*-gnu)
     68    linux* | k*bsd*-gnu | kopensolaris*-gnu)
    7869      case $cc_basename in
    7970        ecc*)
     
    8677          wl='-Wl,'
    8778          ;;
    88         pgcc | pgf77 | pgf90)
     79        nagfor*)
     80          wl='-Wl,-Wl,,'
     81          ;;
     82        pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
    8983          wl='-Wl,'
    9084          ;;
     
    9286          wl='-Wl,'
    9387          ;;
     88        xl* | bgxl* | bgf* | mpixl*)
     89          wl='-Wl,'
     90          ;;
    9491        como)
    9592          wl='-lopt='
     
    9794        *)
    9895          case `$CC -V 2>&1 | sed 5q` in
     96            *Sun\ F* | *Sun*Fortran*)
     97              wl=
     98              ;;
    9999            *Sun\ C*)
    100100              wl='-Wl,'
     
    104104      esac
    105105      ;;
     106    newsos6)
     107      ;;
     108    *nto* | *qnx*)
     109      ;;
    106110    osf3* | osf4* | osf5*)
    107111      wl='-Wl,'
     
    110114      ;;
    111115    solaris*)
    112       wl='-Wl,'
     116      case $cc_basename in
     117        f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
     118          wl='-Qoption ld '
     119          ;;
     120        *)
     121          wl='-Wl,'
     122          ;;
     123      esac
    113124      ;;
    114125    sunos4*)
     
    172183      ;;
    173184    amigaos*)
    174       hardcode_libdir_flag_spec='-L$libdir'
    175       hardcode_minus_L=yes
    176       # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
    177       # that the semantics of dynamic libraries on AmigaOS, at least up
    178       # to version 4, is to share data among multiple programs linked
    179       # with the same dynamic library.  Since this doesn't match the
    180       # behavior of shared libraries on other platforms, we cannot use
    181       # them.
    182       ld_shlibs=no
     185      case "$host_cpu" in
     186        powerpc)
     187          ;;
     188        m68k)
     189          hardcode_libdir_flag_spec='-L$libdir'
     190          hardcode_minus_L=yes
     191          ;;
     192      esac
    183193      ;;
    184194    beos*)
     
    199209      fi
    200210      ;;
     211    haiku*)
     212      ;;
    201213    interix[3-9]*)
    202214      hardcode_direct=no
    203215      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
    204216      ;;
    205     gnu* | linux* | k*bsd*-gnu)
     217    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
    206218      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
    207219        :
     
    326338      ;;
    327339    amigaos*)
    328       hardcode_libdir_flag_spec='-L$libdir'
    329       hardcode_minus_L=yes
    330       # see comment about different semantics on the GNU ld section
    331       ld_shlibs=no
     340      case "$host_cpu" in
     341        powerpc)
     342          ;;
     343        m68k)
     344          hardcode_libdir_flag_spec='-L$libdir'
     345          hardcode_minus_L=yes
     346          ;;
     347      esac
    332348      ;;
    333349    bsdi[45]*)
     
    343359    darwin* | rhapsody*)
    344360      hardcode_direct=no
    345       if test "$GCC" = yes ; then
     361      if { case $cc_basename in ifort*) true;; *) test "$GCC" = yes;; esac; }; then
    346362        :
    347363      else
    348         case $cc_basename in
    349           xlc*)
    350             ;;
    351           *)
    352             ld_shlibs=no
    353             ;;
    354         esac
     364        ld_shlibs=no
    355365      fi
    356366      ;;
    357367    dgux*)
    358368      hardcode_libdir_flag_spec='-L$libdir'
    359       ;;
    360     freebsd1*)
    361       ld_shlibs=no
    362369      ;;
    363370    freebsd2.2*)
     
    421428      hardcode_libdir_separator=:
    422429      ;;
     430    *nto* | *qnx*)
     431      ;;
    423432    openbsd*)
    424433      if test -f /usr/libexec/ld.so; then
     
    516525    ;;
    517526  amigaos*)
    518     library_names_spec='$libname.a'
     527    case "$host_cpu" in
     528      powerpc*)
     529        library_names_spec='$libname$shrext' ;;
     530      m68k)
     531        library_names_spec='$libname.a' ;;
     532    esac
    519533    ;;
    520534  beos*)
     
    534548  dgux*)
    535549    library_names_spec='$libname$shrext'
    536     ;;
    537   freebsd1*)
    538550    ;;
    539551  freebsd* | dragonfly*)
     
    546558    ;;
    547559  gnu*)
     560    library_names_spec='$libname$shrext'
     561    ;;
     562  haiku*)
    548563    library_names_spec='$libname$shrext'
    549564    ;;
     
    583598  linux*oldld* | linux*aout* | linux*coff*)
    584599    ;;
    585   linux* | k*bsd*-gnu)
     600  linux* | k*bsd*-gnu | kopensolaris*-gnu)
    586601    library_names_spec='$libname$shrext'
    587602    ;;
     
    595610    library_names_spec='$libname$shrext'
    596611    ;;
    597   nto-qnx*)
     612  *nto* | *qnx*)
    598613    library_names_spec='$libname$shrext'
    599614    ;;
     
    624639    ;;
    625640  sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
     641    library_names_spec='$libname$shrext'
     642    ;;
     643  tpf*)
    626644    library_names_spec='$libname$shrext'
    627645    ;;
  • TabularUnified xz/vendor/current/config.h.in

    r1791 r1993  
    2323#undef HAVE_BYTESWAP_H
    2424
     25/* Define to 1 if Capsicum is available. */
     26#undef HAVE_CAPSICUM
     27
    2528/* Define to 1 if the system has the type `CC_SHA256_CTX'. */
    2629#undef HAVE_CC_SHA256_CTX
     
    2932#undef HAVE_CC_SHA256_INIT
    3033
    31 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
     34/* Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the
    3235   CoreFoundation framework. */
    3336#undef HAVE_CFLOCALECOPYCURRENT
    3437
    35 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
     38/* Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in
    3639   the CoreFoundation framework. */
    3740#undef HAVE_CFPREFERENCESCOPYAPPVALUE
     
    6467#undef HAVE_DECL_PROGRAM_INVOCATION_NAME
    6568
     69/* Define to 1 if any of HAVE_DECODER_foo have been defined. */
     70#undef HAVE_DECODERS
     71
    6672/* Define to 1 if arm decoder is enabled. */
    6773#undef HAVE_DECODER_ARM
     
    94100#undef HAVE_DLFCN_H
    95101
     102/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */
     103#undef HAVE_ENCODERS
     104
    96105/* Define to 1 if arm encoder is enabled. */
    97106#undef HAVE_ENCODER_ARM
     
    175184#undef HAVE_MF_HC4
    176185
    177 /* Define to 1 if you have the <minix/sha2.h> header file. */
    178 #undef HAVE_MINIX_SHA2_H
    179 
    180186/* Define to 1 if getopt.h declares extern int optreset. */
    181187#undef HAVE_OPTRESET
     
    243249/* Define to 1 if you have the <sys/byteorder.h> header file. */
    244250#undef HAVE_SYS_BYTEORDER_H
     251
     252/* Define to 1 if you have the <sys/capsicum.h> header file. */
     253#undef HAVE_SYS_CAPSICUM_H
    245254
    246255/* Define to 1 if you have the <sys/endian.h> header file. */
     
    281290#undef HAVE__BOOL
    282291
     292/* Define to 1 if you have the `_futime' function. */
     293#undef HAVE__FUTIME
     294
    283295/* Define to 1 if _mm_movemask_epi8 is available. */
    284296#undef HAVE__MM_MOVEMASK_EPI8
     
    339351   pstat_getdynamic(). */
    340352#undef TUKLIB_CPUCORES_PSTAT_GETDYNAMIC
     353
     354/* Define to 1 if the number of available CPU cores can be detected with
     355   sched_getaffinity() */
     356#undef TUKLIB_CPUCORES_SCHED_GETAFFINITY
    341357
    342358/* Define to 1 if the number of available CPU cores can be detected with
  • TabularUnified xz/vendor/current/configure

    r1791 r1993  
    11#! /bin/sh
    22# Guess values for system-dependent variables and create Makefiles.
    3 # Generated by GNU Autoconf 2.69 for XZ Utils 5.2.2.
     3# Generated by GNU Autoconf 2.69 for XZ Utils 5.2.3.
    44#
    55# Report bugs to <lasse.collin@tukaani.org>.
     
    591591PACKAGE_NAME='XZ Utils'
    592592PACKAGE_TARNAME='xz'
    593 PACKAGE_VERSION='5.2.2'
    594 PACKAGE_STRING='XZ Utils 5.2.2'
     593PACKAGE_VERSION='5.2.3'
     594PACKAGE_STRING='XZ Utils 5.2.3'
    595595PACKAGE_BUGREPORT='lasse.collin@tukaani.org'
    596596PACKAGE_URL='http://tukaani.org/xz/'
     
    643643HAVE_VISIBILITY
    644644CFLAG_VISIBILITY
     645CAPSICUM_LIB
    645646COND_INTERNAL_SHA256_FALSE
    646647COND_INTERNAL_SHA256_TRUE
     
    903904enable_match_finders
    904905enable_checks
     906enable_external_sha256
    905907enable_assembler
    906908enable_small
     
    915917enable_doc
    916918enable_symbol_versions
     919enable_sandbox
    917920enable_silent_rules
    918921enable_dependency_tracking
     
    14851488  # This message is too long to be a string in the A/UX 3.1 sh.
    14861489  cat <<_ACEOF
    1487 \`configure' configures XZ Utils 5.2.2 to adapt to many kinds of systems.
     1490\`configure' configures XZ Utils 5.2.3 to adapt to many kinds of systems.
    14881491
    14891492Usage: $0 [OPTION]... [VAR=VALUE]...
     
    15551558if test -n "$ac_init_help"; then
    15561559  case $ac_init_help in
    1557      short | recursive ) echo "Configuration of XZ Utils 5.2.2:";;
     1560     short | recursive ) echo "Configuration of XZ Utils 5.2.3:";;
    15581561   esac
    15591562  cat <<\_ACEOF
     
    15781581                          Default=all. Available integrity checks: crc32 crc64
    15791582                          sha256
     1583  --enable-external-sha256
     1584                          Use SHA-256 code from the operating system. See
     1585                          INSTALL for possible subtle problems.
    15801586  --disable-assembler     Do not use assembler optimizations even if such
    15811587                          exist for the architecture.
     
    16051611                          default on GNU/Linux, other GNU-based systems, and
    16061612                          FreeBSD.
     1613  --enable-sandbox=METHOD This is an experimental feature. Sandboxing METHOD
     1614                          can be `auto', `no', or `capsicum'. The default is
     1615                          `no'.
    16071616  --enable-silent-rules   less verbose build output (undo: "make V=1")
    16081617  --disable-silent-rules  verbose build output (undo: "make V=0")
     
    16381647  --with-sysroot[=DIR]    Search for dependent libraries within DIR (or the
    16391648                          compiler's sysroot if not specified).
    1640   --with-gnu-ld           assume the C compiler uses GNU ld default=no
     1649  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
    16411650  --with-libiconv-prefix[=DIR]  search for libiconv in DIR/include and DIR/lib
    16421651  --without-libiconv-prefix     don't search for libiconv in includedir and libdir
     
    17251734if $ac_init_version; then
    17261735  cat <<\_ACEOF
    1727 XZ Utils configure 5.2.2
     1736XZ Utils configure 5.2.3
    17281737generated by GNU Autoconf 2.69
    17291738
     
    25642573running configure, to aid debugging if configure makes a mistake.
    25652574
    2566 It was created by XZ Utils $as_me 5.2.2, which was
     2575It was created by XZ Utils $as_me 5.2.3, which was
    25672576generated by GNU Autoconf 2.69.  Invocation command line was
    25682577
     
    31313140enable_encoders=`echo "$enable_encoders" | sed 's/,/ /g'`
    31323141if test "x$enable_encoders" = xno || test "x$enable_encoders" = x; then
     3142        enable_encoders=no
    31333143        { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
    31343144$as_echo "(none)" >&6; }
     
    32073217                esac
    32083218        done
     3219
     3220$as_echo "#define HAVE_ENCODERS 1" >>confdefs.h
     3221
    32093222        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_encoders" >&5
    32103223$as_echo "$enable_encoders" >&6; }
     
    32223235enable_decoders=`echo "$enable_decoders" | sed 's/,/ /g'`
    32233236if test "x$enable_decoders" = xno || test "x$enable_decoders" = x; then
     3237        enable_decoders=no
    32243238        { $as_echo "$as_me:${as_lineno-$LINENO}: result: (none)" >&5
    32253239$as_echo "(none)" >&6; }
     
    32993313        done
    33003314
    3301         # LZMA2 requires that LZMA1 is enabled.
    3302         test "x$enable_encoder_lzma2" = xyes && enable_encoder_lzma1=yes
    3303         test "x$enable_decoder_lzma2" = xyes && enable_decoder_lzma1=yes
     3315$as_echo "#define HAVE_DECODERS 1" >>confdefs.h
    33043316
    33053317        { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_decoders" >&5
     
    33123324fi
    33133325
    3314  if test "x$enable_encoders" != xno && test "x$enable_encoders" != x; then
     3326 if test "x$enable_encoders" != xno; then
    33153327  COND_MAIN_ENCODER_TRUE=
    33163328  COND_MAIN_ENCODER_FALSE='#'
     
    33203332fi
    33213333
    3322  if test "x$enable_decoders" != xno && test "x$enable_decoders" != x; then
     3334 if test "x$enable_decoders" != xno; then
    33233335  COND_MAIN_DECODER_TRUE=
    33243336  COND_MAIN_DECODER_FALSE='#'
     
    37853797
    37863798
     3799{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if external SHA-256 should be used" >&5
     3800$as_echo_n "checking if external SHA-256 should be used... " >&6; }
     3801# Check whether --enable-external-sha256 was given.
     3802if test "${enable_external_sha256+set}" = set; then :
     3803  enableval=$enable_external_sha256;
     3804else
     3805  enable_external_sha256=no
     3806fi
     3807
     3808if test "x$enable_check_sha256" != "xyes"; then
     3809        enable_external_sha256=no
     3810fi
     3811if test "x$enable_external_sha256" = xyes; then
     3812        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
     3813$as_echo "yes" >&6; }
     3814else
     3815        { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
     3816$as_echo "no" >&6; }
     3817fi
     3818
    37873819
    37883820###########################
     
    39894021fi
    39904022
     4023test "x$enable_decoders" = xno && enable_xzdec=no
    39914024 if test x$enable_xzdec != xno; then
    39924025  COND_XZDEC_TRUE=
     
    40054038fi
    40064039
     4040test "x$enable_decoder_lzma1" = xno && enable_lzmadec=no
    40074041 if test x$enable_lzmadec != xno; then
    40084042  COND_LZMADEC_TRUE=
     
    40214055fi
    40224056
     4057test "x$enable_decoder_lzma1" = xno && enable_lzmainfo=no
    40234058 if test x$enable_lzmainfo != xno; then
    40244059  COND_LZMAINFO_TRUE=
     
    41164151fi
    41174152
     4153
     4154
     4155##############
     4156# Sandboxing #
     4157##############
     4158
     4159{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if sandboxing should be used" >&5
     4160$as_echo_n "checking if sandboxing should be used... " >&6; }
     4161# Check whether --enable-sandbox was given.
     4162if test "${enable_sandbox+set}" = set; then :
     4163  enableval=$enable_sandbox;
     4164else
     4165  enable_sandbox=no
     4166fi
     4167
     4168case $enable_sandbox in
     4169        auto)
     4170                { $as_echo "$as_me:${as_lineno-$LINENO}: result: maybe (autodetect)" >&5
     4171$as_echo "maybe (autodetect)" >&6; }
     4172                ;;
     4173        no | capsicum)
     4174                { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_sandbox" >&5
     4175$as_echo "$enable_sandbox" >&6; }
     4176                ;;
     4177        *)
     4178                { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
     4179$as_echo "" >&6; }
     4180                as_fn_error $? "--enable-sandbox only accepts \`auto', \`no', or \`capsicum'." "$LINENO" 5
     4181                ;;
     4182esac
    41184183
    41194184
     
    46764741# Define the identity of the package.
    46774742 PACKAGE='xz'
    4678  VERSION='5.2.2'
     4743 VERSION='5.2.3'
    46794744
    46804745
     
    1523415299
    1523515300
    15236 mkdir_p="$MKDIR_P"
    15237 case $mkdir_p in
    15238   [\\/$]* | ?:[\\/]*) ;;
    15239   */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
    15240 esac
    15241 
    15242 
    1524315301  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NLS is requested" >&5
    1524415302$as_echo_n "checking whether NLS is requested... " >&6; }
     
    1525615314
    1525715315
    15258       GETTEXT_MACRO_VERSION=0.18
     15316      GETTEXT_MACRO_VERSION=0.19
    1525915317
    1526015318
     
    1526415322# The user is always right.
    1526515323if test "${PATH_SEPARATOR+set}" != set; then
    15266   echo "#! /bin/sh" >conf$$.sh
    15267   echo  "exit 0"   >>conf$$.sh
    15268   chmod +x conf$$.sh
    15269   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15270     PATH_SEPARATOR=';'
    15271   else
    15272     PATH_SEPARATOR=:
    15273   fi
    15274   rm -f conf$$.sh
     15324  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15325  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15326  # so we have to set that as well for the test.
     15327  PATH_SEPARATOR=:
     15328  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15329    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15330           || PATH_SEPARATOR=';'
     15331       }
    1527515332fi
    1527615333
     
    1538715444# The user is always right.
    1538815445if test "${PATH_SEPARATOR+set}" != set; then
    15389   echo "#! /bin/sh" >conf$$.sh
    15390   echo  "exit 0"   >>conf$$.sh
    15391   chmod +x conf$$.sh
    15392   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15393     PATH_SEPARATOR=';'
    15394   else
    15395     PATH_SEPARATOR=:
    15396   fi
    15397   rm -f conf$$.sh
     15446  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15447  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15448  # so we have to set that as well for the test.
     15449  PATH_SEPARATOR=:
     15450  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15451    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15452           || PATH_SEPARATOR=';'
     15453       }
    1539815454fi
    1539915455
     
    1546515521# The user is always right.
    1546615522if test "${PATH_SEPARATOR+set}" != set; then
    15467   echo "#! /bin/sh" >conf$$.sh
    15468   echo  "exit 0"   >>conf$$.sh
    15469   chmod +x conf$$.sh
    15470   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15471     PATH_SEPARATOR=';'
    15472   else
    15473     PATH_SEPARATOR=:
    15474   fi
    15475   rm -f conf$$.sh
     15523  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15524  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15525  # so we have to set that as well for the test.
     15526  PATH_SEPARATOR=:
     15527  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15528    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15529           || PATH_SEPARATOR=';'
     15530       }
    1547615531fi
    1547715532
     
    1555715612
    1555815613
     15614
    1555915615# Check whether --with-gnu-ld was given.
    1556015616if test "${with_gnu_ld+set}" = set; then :
     
    1556715623# The user is always right.
    1556815624if test "${PATH_SEPARATOR+set}" != set; then
    15569   echo "#! /bin/sh" >conf$$.sh
    15570   echo  "exit 0"   >>conf$$.sh
    15571   chmod +x conf$$.sh
    15572   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    15573     PATH_SEPARATOR=';'
    15574   else
    15575     PATH_SEPARATOR=:
    15576   fi
    15577   rm -f conf$$.sh
    15578 fi
     15625  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     15626  # contains only /bin. Note that ksh looks also at the FPATH variable,
     15627  # so we have to set that as well for the test.
     15628  PATH_SEPARATOR=:
     15629  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15630    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     15631           || PATH_SEPARATOR=';'
     15632       }
     15633fi
     15634
    1557915635ac_prog=ld
    1558015636if test "$GCC" = yes; then
    1558115637  # Check if gcc -print-prog-name=ld gives a path.
    15582   { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
    15583 $as_echo_n "checking for ld used by GCC... " >&6; }
     15638  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
     15639$as_echo_n "checking for ld used by $CC... " >&6; }
    1558415640  case $host in
    1558515641  *-*-mingw*)
     
    1559115647  case $ac_prog in
    1559215648    # Accept absolute paths.
    15593     [\\/]* | [A-Za-z]:[\\/]*)
     15649    [\\/]* | ?:[\\/]*)
    1559415650      re_direlt='/[^/][^/]*/\.\./'
    15595       # Canonicalize the path of ld
    15596       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
    15597       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
     15651      # Canonicalize the pathname of ld
     15652      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
     15653      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
    1559815654        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
    1559915655      done
     
    1562015676else
    1562115677  if test -z "$LD"; then
    15622   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     15678  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    1562315679  for ac_dir in $PATH; do
     15680    IFS="$acl_save_ifs"
    1562415681    test -z "$ac_dir" && ac_dir=.
    1562515682    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    1562615683      acl_cv_path_LD="$ac_dir/$ac_prog"
    1562715684      # Check to see if the program is GNU ld.  I'd rather use --version,
    15628       # but apparently some GNU ld's only accept -v.
     15685      # but apparently some variants of GNU ld only accept -v.
    1562915686      # Break only if it was the GNU/non-GNU ld that we prefer.
    15630       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
     15687      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
    1563115688      *GNU* | *'with BFD'*)
    15632         test "$with_gnu_ld" != no && break ;;
     15689        test "$with_gnu_ld" != no && break
     15690        ;;
    1563315691      *)
    15634         test "$with_gnu_ld" != yes && break ;;
     15692        test "$with_gnu_ld" != yes && break
     15693        ;;
    1563515694      esac
    1563615695    fi
    1563715696  done
    15638   IFS="$ac_save_ifs"
     15697  IFS="$acl_save_ifs"
    1563915698else
    1564015699  acl_cv_path_LD="$LD" # Let the user override the test with a path.
     
    1565615715  $as_echo_n "(cached) " >&6
    1565715716else
    15658   # I'd rather use --version here, but apparently some GNU ld's only accept -v.
     15717  # I'd rather use --version here, but apparently some GNU lds only accept -v.
    1565915718case `$LD -v 2>&1 </dev/null` in
    1566015719*GNU* | *'with BFD'*)
    15661   acl_cv_prog_gnu_ld=yes ;;
     15720  acl_cv_prog_gnu_ld=yes
     15721  ;;
    1566215722*)
    15663   acl_cv_prog_gnu_ld=no ;;
     15723  acl_cv_prog_gnu_ld=no
     15724  ;;
    1566415725esac
    1566515726fi
     
    1584415905      if test -z "$already_handled"; then
    1584515906        names_already_handled="$names_already_handled $name"
    15846                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
     15907                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
    1584715908        eval value=\"\$HAVE_LIB$uppername\"
    1584815909        if test -n "$value"; then
     
    1637316434  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1637416435/* end confdefs.h.  */
     16436
    1637516437#include <libintl.h>
    1637616438$gt_revision_test_code
    1637716439extern int _nl_msg_cat_cntr;
    1637816440extern int *_nl_domain_bindings;
     16441
    1637916442int
    1638016443main ()
    1638116444{
     16445
    1638216446bindtextdomain ("", "");
    1638316447return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
     16448
    1638416449  ;
    1638516450  return 0;
     
    1643916504    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1644016505/* end confdefs.h.  */
     16506
    1644116507#include <stdlib.h>
    1644216508#include <iconv.h>
     16509
    1644316510int
    1644416511main ()
    1644516512{
    1644616513iconv_t cd = iconv_open("","");
    16447        iconv(cd,NULL,NULL,NULL,NULL);
    16448        iconv_close(cd);
     16514           iconv(cd,NULL,NULL,NULL,NULL);
     16515           iconv_close(cd);
    1644916516  ;
    1645016517  return 0;
     
    1646116528      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1646216529/* end confdefs.h.  */
     16530
    1646316531#include <stdlib.h>
    1646416532#include <iconv.h>
     16533
    1646516534int
    1646616535main ()
    1646716536{
    1646816537iconv_t cd = iconv_open("","");
    16469          iconv(cd,NULL,NULL,NULL,NULL);
    16470          iconv_close(cd);
     16538             iconv(cd,NULL,NULL,NULL,NULL);
     16539             iconv_close(cd);
    1647116540  ;
    1647216541  return 0;
     
    1649216561else
    1649316562
    16494             am_save_LIBS="$LIBS"
     16563                  am_save_LIBS="$LIBS"
    1649516564      if test $am_cv_lib_iconv = yes; then
    1649616565        LIBS="$LIBS $LIBICONV"
    1649716566      fi
    1649816567      if test "$cross_compiling" = yes; then :
    16499   case "$host_os" in
     16568
     16569         case "$host_os" in
    1650016570           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
    1650116571           *)            am_cv_func_iconv_works="guessing yes" ;;
    1650216572         esac
     16573
    1650316574else
    1650416575  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     
    1650916580int main ()
    1651016581{
     16582  int result = 0;
    1651116583  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
    1651216584     returns.  */
     
    1652516597                            &outptr, &outbytesleft);
    1652616598        if (res == 0)
    16527           return 1;
     16599          result |= 1;
     16600        iconv_close (cd_utf8_to_88591);
    1652816601      }
    1652916602  }
     
    1654416617                            &outptr, &outbytesleft);
    1654516618        if (res == 0)
    16546           return 1;
     16619          result |= 2;
     16620        iconv_close (cd_ascii_to_88591);
     16621      }
     16622  }
     16623  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
     16624  {
     16625    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
     16626    if (cd_88591_to_utf8 != (iconv_t)(-1))
     16627      {
     16628        static const char input[] = "\304";
     16629        static char buf[2] = { (char)0xDE, (char)0xAD };
     16630        const char *inptr = input;
     16631        size_t inbytesleft = 1;
     16632        char *outptr = buf;
     16633        size_t outbytesleft = 1;
     16634        size_t res = iconv (cd_88591_to_utf8,
     16635                            (char **) &inptr, &inbytesleft,
     16636                            &outptr, &outbytesleft);
     16637        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
     16638          result |= 4;
     16639        iconv_close (cd_88591_to_utf8);
    1654716640      }
    1654816641  }
     
    1656316656                            &outptr, &outbytesleft);
    1656416657        if ((int)res > 0)
    16565           return 1;
     16658          result |= 8;
     16659        iconv_close (cd_88591_to_utf8);
    1656616660      }
    1656716661  }
     
    1657716671      /* Try HP-UX names.  */
    1657816672      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
    16579     return 1;
    16580   return 0;
     16673    result |= 16;
     16674  return result;
    1658116675}
    1658216676_ACEOF
     
    1669516789      if test -z "$already_handled"; then
    1669616790        names_already_handled="$names_already_handled $name"
    16697                         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
     16791                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
    1669816792        eval value=\"\$HAVE_LIB$uppername\"
    1669916793        if test -n "$value"; then
     
    1709317187                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1709417188/* end confdefs.h.  */
     17189
    1709517190#include <libintl.h>
    1709617191$gt_revision_test_code
     
    1710117196#endif
    1710217197const char *_nl_expand_alias (const char *);
     17198
    1710317199int
    1710417200main ()
    1710517201{
     17202
    1710617203bindtextdomain ("", "");
    1710717204return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     17205
    1710817206  ;
    1710917207  return 0;
     
    1712117219              cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1712217220/* end confdefs.h.  */
     17221
    1712317222#include <libintl.h>
    1712417223$gt_revision_test_code
     
    1712917228#endif
    1713017229const char *_nl_expand_alias (const char *);
     17230
    1713117231int
    1713217232main ()
    1713317233{
     17234
    1713417235bindtextdomain ("", "");
    1713517236return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     17237
    1713617238  ;
    1713717239  return 0;
     
    1714017242if ac_fn_c_try_link "$LINENO"; then :
    1714117243  LIBINTL="$LIBINTL $LIBICONV"
    17142                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
    17143                 eval "$gt_func_gnugettext_libintl=yes"
     17244                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
     17245                 eval "$gt_func_gnugettext_libintl=yes"
    1714417246
    1714517247fi
     
    1810318205
    1810418206# Find the best function to set timestamps.
    18105 for ac_func in futimens futimes futimesat utimes utime
     18207for ac_func in futimens futimes futimesat utimes _futime utime
    1810618208do :
    1810718209  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     
    1859818700
    1859918701
     18702# glibc-based systems (GNU/Linux and GNU/kFreeBSD) have sched_getaffinity().
     18703# The CPU_COUNT() macro was added in glibc 2.9 so we try to link the
     18704# test program instead of merely compiling it. glibc 2.9 is old enough that
     18705# if someone uses the code on older glibc, the fallback to sysconf() should
     18706# be good enough.
     18707cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     18708/* end confdefs.h.  */
     18709
     18710#include <sched.h>
     18711int
     18712main(void)
     18713{
     18714        cpu_set_t cpu_mask;
     18715        sched_getaffinity(0, sizeof(cpu_mask), &cpu_mask);
     18716        return CPU_COUNT(&cpu_mask);
     18717}
     18718
     18719_ACEOF
     18720if ac_fn_c_try_link "$LINENO"; then :
     18721  tuklib_cv_cpucores_method=sched_getaffinity
     18722else
     18723
     18724
    1860018725# FreeBSD has both cpuset and sysctl. Look for cpuset first because
    1860118726# it's a better approach.
     18727#
     18728# This test would match on GNU/kFreeBSD too but it would require
     18729# -lfreebsd-glue when linking and thus in the current form this would
     18730# fail on GNU/kFreeBSD. The above test for sched_getaffinity() matches
     18731# on GNU/kFreeBSD so the test below should never run on that OS.
    1860218732cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    1860318733/* end confdefs.h.  */
     
    1871118841rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1871218842fi
     18843rm -f core conftest.err conftest.$ac_objext \
     18844    conftest$ac_exeext conftest.$ac_ext
     18845fi
    1871318846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
    1871418847fi
     
    1871718850
    1871818851case $tuklib_cv_cpucores_method in
     18852        sched_getaffinity)
     18853
     18854$as_echo "#define TUKLIB_CPUCORES_SCHED_GETAFFINITY 1" >>confdefs.h
     18855
     18856                ;;
    1871918857        cpuset)
    1872018858
     
    1879118929
    1879218930
    18793 # Check for system-provided SHA-256. At least the following is supported:
     18931# If requsted, check for system-provided SHA-256. At least the following
     18932# implementations are supported:
    1879418933#
    1879518934# OS       Headers                     Library  Type           Function
     
    1879818937# OpenBSD  sys/types.h + sha2.h                 SHA2_CTX       SHA256Init
    1879918938# Solaris  sys/types.h + sha2.h        libmd    SHA256_CTX     SHA256Init
    18800 # MINIX 3  sys/types.h + minix/sha2.h  libutil  SHA256_CTX     SHA256_Init
     18939# MINIX 3  sys/types.h + sha2.h                 SHA256_CTX     SHA256_Init
    1880118940# Darwin   CommonCrypto/CommonDigest.h          CC_SHA256_CTX  CC_SHA256_Init
    1880218941#
     
    1880418943# of size_t.
    1880518944#
    18806 # We don't check for e.g. OpenSSL or libgcrypt because we don't want
    18807 # to introduce dependencies to other packages by default. Maybe such
    18808 # libraries could be supported via additional configure options though.
    18809 #
    18810 if test "x$enable_check_sha256" = "xyes"; then
     18945sha256_header_found=no
     18946sha256_type_found=no
     18947sha256_func_found=no
     18948if test "x$enable_external_sha256" = "xyes"; then
    1881118949        # Test for Common Crypto before others, because Darwin has sha256.h
    1881218950        # too and we don't want to use that, because on older versions it
    1881318951        # uses OpenSSL functions, whose SHA256_Init is not guaranteed to
    1881418952        # succeed.
    18815         sha256_header_found=no
    18816         for ac_header in CommonCrypto/CommonDigest.h sha256.h sha2.h minix/sha2.h
     18953        for ac_header in CommonCrypto/CommonDigest.h sha256.h sha2.h
    1881718954do :
    1881818955  as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
     
    1884018977                          # include <sha2.h>
    1884118978                          #endif
    18842                           #ifdef HAVE_MINIX_SHA2_H
    18843                           # include <minix/sha2.h>
    18844                           #endif
    1884518979"
    1884618980if test "x$ac_cv_type_CC_SHA256_CTX" = xyes; then :
     
    1885018984_ACEOF
    1885118985
    18852 
     18986sha256_type_found=yes
    1885318987fi
    1885418988ac_fn_c_check_type "$LINENO" "SHA256_CTX" "ac_cv_type_SHA256_CTX" "#ifdef HAVE_SYS_TYPES_H
     
    1886418998                          # include <sha2.h>
    1886518999                          #endif
    18866                           #ifdef HAVE_MINIX_SHA2_H
    18867                           # include <minix/sha2.h>
    18868                           #endif
    1886919000"
    1887019001if test "x$ac_cv_type_SHA256_CTX" = xyes; then :
     
    1887419005_ACEOF
    1887519006
    18876 
     19007sha256_type_found=yes
    1887719008fi
    1887819009ac_fn_c_check_type "$LINENO" "SHA2_CTX" "ac_cv_type_SHA2_CTX" "#ifdef HAVE_SYS_TYPES_H
     
    1888819019                          # include <sha2.h>
    1888919020                          #endif
    18890                           #ifdef HAVE_MINIX_SHA2_H
    18891                           # include <minix/sha2.h>
    18892                           #endif
    1889319021"
    1889419022if test "x$ac_cv_type_SHA2_CTX" = xyes; then :
     
    1889819026_ACEOF
    1889919027
    18900 
    18901 fi
    18902 
    18903                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256_Init" >&5
    18904 $as_echo_n "checking for library containing SHA256_Init... " >&6; }
    18905 if ${ac_cv_search_SHA256_Init+:} false; then :
    18906   $as_echo_n "(cached) " >&6
    18907 else
    18908   ac_func_search_save_LIBS=$LIBS
    18909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
    18910 /* end confdefs.h.  */
    18911 
    18912 /* Override any GCC internal prototype to avoid an error.
    18913    Use char because int might match the return type of a GCC
    18914    builtin and then its argument prototype would still apply.  */
    18915 #ifdef __cplusplus
    18916 extern "C"
    18917 #endif
    18918 char SHA256_Init ();
    18919 int
    18920 main ()
    18921 {
    18922 return SHA256_Init ();
    18923   ;
    18924   return 0;
    18925 }
    18926 _ACEOF
    18927 for ac_lib in '' md util; do
    18928   if test -z "$ac_lib"; then
    18929     ac_res="none required"
    18930   else
    18931     ac_res=-l$ac_lib
    18932     LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
    18933   fi
    18934   if ac_fn_c_try_link "$LINENO"; then :
    18935   ac_cv_search_SHA256_Init=$ac_res
    18936 fi
    18937 rm -f core conftest.err conftest.$ac_objext \
    18938     conftest$ac_exeext
    18939   if ${ac_cv_search_SHA256_Init+:} false; then :
    18940   break
    18941 fi
    18942 done
    18943 if ${ac_cv_search_SHA256_Init+:} false; then :
    18944 
    18945 else
    18946   ac_cv_search_SHA256_Init=no
    18947 fi
    18948 rm conftest.$ac_ext
    18949 LIBS=$ac_func_search_save_LIBS
    18950 fi
    18951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SHA256_Init" >&5
    18952 $as_echo "$ac_cv_search_SHA256_Init" >&6; }
    18953 ac_res=$ac_cv_search_SHA256_Init
    18954 if test "$ac_res" != no; then :
    18955   test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
    18956 
    18957 fi
    18958 
    18959                 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256Init" >&5
     19028sha256_type_found=yes
     19029fi
     19030
     19031                if test "x$sha256_type_found" = xyes ; then
     19032                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256Init" >&5
    1896019033$as_echo_n "checking for library containing SHA256Init... " >&6; }
    1896119034if ${ac_cv_search_SHA256Init+:} false; then :
     
    1901319086fi
    1901419087
    19015                 for ac_func in CC_SHA256_Init SHA256_Init SHA256Init
     19088                        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing SHA256_Init" >&5
     19089$as_echo_n "checking for library containing SHA256_Init... " >&6; }
     19090if ${ac_cv_search_SHA256_Init+:} false; then :
     19091  $as_echo_n "(cached) " >&6
     19092else
     19093  ac_func_search_save_LIBS=$LIBS
     19094cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19095/* end confdefs.h.  */
     19096
     19097/* Override any GCC internal prototype to avoid an error.
     19098   Use char because int might match the return type of a GCC
     19099   builtin and then its argument prototype would still apply.  */
     19100#ifdef __cplusplus
     19101extern "C"
     19102#endif
     19103char SHA256_Init ();
     19104int
     19105main ()
     19106{
     19107return SHA256_Init ();
     19108  ;
     19109  return 0;
     19110}
     19111_ACEOF
     19112for ac_lib in '' md; do
     19113  if test -z "$ac_lib"; then
     19114    ac_res="none required"
     19115  else
     19116    ac_res=-l$ac_lib
     19117    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
     19118  fi
     19119  if ac_fn_c_try_link "$LINENO"; then :
     19120  ac_cv_search_SHA256_Init=$ac_res
     19121fi
     19122rm -f core conftest.err conftest.$ac_objext \
     19123    conftest$ac_exeext
     19124  if ${ac_cv_search_SHA256_Init+:} false; then :
     19125  break
     19126fi
     19127done
     19128if ${ac_cv_search_SHA256_Init+:} false; then :
     19129
     19130else
     19131  ac_cv_search_SHA256_Init=no
     19132fi
     19133rm conftest.$ac_ext
     19134LIBS=$ac_func_search_save_LIBS
     19135fi
     19136{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_SHA256_Init" >&5
     19137$as_echo "$ac_cv_search_SHA256_Init" >&6; }
     19138ac_res=$ac_cv_search_SHA256_Init
     19139if test "$ac_res" != no; then :
     19140  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
     19141
     19142fi
     19143
     19144                        for ac_func in CC_SHA256_Init SHA256Init SHA256_Init
    1901619145do :
    1901719146  as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
     
    1902119150#define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
    1902219151_ACEOF
    19023  break
     19152 sha256_func_found=yes ; break
    1902419153fi
    1902519154done
    1902619155
     19156                fi
    1902719157        fi
    1902819158fi
    19029  if test "x$ac_cv_func_SHA256_Init" != xyes \
    19030                 && test "x$ac_cv_func_SHA256Init" != xyes \
    19031                 && test "x$ac_cv_func_CC_SHA256_Init" != xyes; then
     19159 if test "x$sha256_func_found" = xno; then
    1903219160  COND_INTERNAL_SHA256_TRUE=
    1903319161  COND_INTERNAL_SHA256_FALSE='#'
     
    1903719165fi
    1903819166
     19167if test "x$enable_external_sha256$sha256_func_found" = xyesno; then
     19168        as_fn_error $? "--enable-external-sha256 was specified but no supported external SHA-256 implementation was found" "$LINENO" 5
     19169fi
    1903919170
    1904019171# Check for SSE2 intrinsics.
     
    1904919180fi
    1905019181
     19182
     19183# Check for sandbox support. If one is found, set enable_sandbox=found.
     19184case $enable_sandbox in
     19185        auto | capsicum)
     19186
     19187# On FreeBSD >= 11.x and Linux, Capsicum is uses <sys/capsicum.h>.
     19188# If this header is found, it is assumed to be the right one.
     19189capsicum_header_found=no
     19190for ac_header in sys/capsicum.h
     19191do :
     19192  ac_fn_c_check_header_mongrel "$LINENO" "sys/capsicum.h" "ac_cv_header_sys_capsicum_h" "$ac_includes_default"
     19193if test "x$ac_cv_header_sys_capsicum_h" = xyes; then :
     19194  cat >>confdefs.h <<_ACEOF
     19195#define HAVE_SYS_CAPSICUM_H 1
     19196_ACEOF
     19197 capsicum_header_found=yes
     19198fi
     19199
     19200done
     19201
     19202if test "$capsicum_header_found" = no ; then
     19203    # On FreeBSD 10.x Capsicum uses <sys/capability.h>. Such a header exists
     19204    # on Linux too but it describes POSIX.1e capabilities. Look for the
     19205    # declaration of cap_rights_limit to check if <sys/capability.h> is
     19206    # a Capsicum header.
     19207    ac_fn_c_check_decl "$LINENO" "cap_rights_limit" "ac_cv_have_decl_cap_rights_limit" "#include <sys/capability.h>
     19208"
     19209if test "x$ac_cv_have_decl_cap_rights_limit" = xyes; then :
     19210  capsicum_header_found=yes
     19211fi
     19212
     19213fi
     19214
     19215capsicum_lib_found=no
     19216CAPSICUM_LIB=
     19217if test "$capsicum_header_found" = yes ; then
     19218    ac_ext=c
     19219ac_cpp='$CPP $CPPFLAGS'
     19220ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     19221ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     19222ac_compiler_gnu=$ac_cv_c_compiler_gnu
     19223
     19224    # FreeBSD >= 10.x has Capsicum functions in libc.
     19225    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19226/* end confdefs.h.  */
     19227
     19228/* Override any GCC internal prototype to avoid an error.
     19229   Use char because int might match the return type of a GCC
     19230   builtin and then its argument prototype would still apply.  */
     19231#ifdef __cplusplus
     19232extern "C"
     19233#endif
     19234char cap_rights_limit ();
     19235int
     19236main ()
     19237{
     19238return cap_rights_limit ();
     19239  ;
     19240  return 0;
     19241}
     19242_ACEOF
     19243if ac_fn_c_try_link "$LINENO"; then :
     19244  capsicum_lib_found=yes
     19245fi
     19246rm -f core conftest.err conftest.$ac_objext \
     19247    conftest$ac_exeext conftest.$ac_ext
     19248    # Linux has Capsicum functions in libcaprights.
     19249    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cap_rights_limit in -lcaprights" >&5
     19250$as_echo_n "checking for cap_rights_limit in -lcaprights... " >&6; }
     19251if ${ac_cv_lib_caprights_cap_rights_limit+:} false; then :
     19252  $as_echo_n "(cached) " >&6
     19253else
     19254  ac_check_lib_save_LIBS=$LIBS
     19255LIBS="-lcaprights  $LIBS"
     19256cat confdefs.h - <<_ACEOF >conftest.$ac_ext
     19257/* end confdefs.h.  */
     19258
     19259/* Override any GCC internal prototype to avoid an error.
     19260   Use char because int might match the return type of a GCC
     19261   builtin and then its argument prototype would still apply.  */
     19262#ifdef __cplusplus
     19263extern "C"
     19264#endif
     19265char cap_rights_limit ();
     19266int
     19267main ()
     19268{
     19269return cap_rights_limit ();
     19270  ;
     19271  return 0;
     19272}
     19273_ACEOF
     19274if ac_fn_c_try_link "$LINENO"; then :
     19275  ac_cv_lib_caprights_cap_rights_limit=yes
     19276else
     19277  ac_cv_lib_caprights_cap_rights_limit=no
     19278fi
     19279rm -f core conftest.err conftest.$ac_objext \
     19280    conftest$ac_exeext conftest.$ac_ext
     19281LIBS=$ac_check_lib_save_LIBS
     19282fi
     19283{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_caprights_cap_rights_limit" >&5
     19284$as_echo "$ac_cv_lib_caprights_cap_rights_limit" >&6; }
     19285if test "x$ac_cv_lib_caprights_cap_rights_limit" = xyes; then :
     19286  CAPSICUM_LIB=-lcaprights
     19287                  capsicum_lib_found=yes
     19288fi
     19289
     19290    ac_ext=c
     19291ac_cpp='$CPP $CPPFLAGS'
     19292ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
     19293ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
     19294ac_compiler_gnu=$ac_cv_c_compiler_gnu
     19295
     19296fi
     19297
     19298
     19299if test "$capsicum_lib_found" = yes ; then
     19300
     19301$as_echo "#define HAVE_CAPSICUM 1" >>confdefs.h
     19302
     19303    enable_sandbox=found
     19304else
     19305    :
     19306fi
     19307                ;;
     19308esac
     19309
     19310# If a specific sandboxing method was explicitly requested and it wasn't
     19311# found, give an error.
     19312case $enable_sandbox in
     19313        auto | no | found)
     19314                ;;
     19315        *)
     19316                as_fn_error $? "$enable_sandbox support not found" "$LINENO" 5
     19317                ;;
     19318esac
    1905119319
    1905219320
     
    1911119379/* end confdefs.h.  */
    1911219380extern __attribute__((__visibility__("hidden"))) int hiddenvar;
    19113          extern __attribute__((__visibility__("default"))) int exportedvar;
    19114          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
    19115          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
    19116          void dummyfunc (void) {}
     19381             extern __attribute__((__visibility__("default"))) int exportedvar;
     19382             extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
     19383             extern __attribute__((__visibility__("default"))) int exportedfunc (void);
     19384             void dummyfunc (void) {}
     19385
    1911719386int
    1911819387main ()
     
    2001020279# values after options handling.
    2001120280ac_log="
    20012 This file was extended by XZ Utils $as_me 5.2.2, which was
     20281This file was extended by XZ Utils $as_me 5.2.3, which was
    2001320282generated by GNU Autoconf 2.69.  Invocation command line was
    2001420283
     
    2007720346ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
    2007820347ac_cs_version="\\
    20079 XZ Utils config.status 5.2.2
     20348XZ Utils config.status 5.2.3
    2008020349configured by $0, generated by GNU Autoconf 2.69,
    2008120350  with options \\"\$ac_cs_config\\"
     
    2197622245        # Adjust a relative srcdir.
    2197722246        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
    21978         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
     22247        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
    2197922248        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
    2198022249        # In autoconf-2.13 it is called $ac_given_srcdir.
     
    2199222261          rm -f "$ac_dir/POTFILES"
    2199322262          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
    21994           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
     22263          gt_tab=`printf '\t'`
     22264          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"
    2199522265          POMAKEFILEDEPS="POTFILES.in"
    2199622266          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
     
    2200322273            fi
    2200422274            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
    22005             # Hide the ALL_LINGUAS assigment from automake < 1.5.
     22275            # Hide the ALL_LINGUAS assignment from automake < 1.5.
    2200622276            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
    2200722277            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
    2200822278          else
    2200922279            # The set of available languages was given in configure.in.
    22010             # Hide the ALL_LINGUAS assigment from automake < 1.5.
     22280            # Hide the ALL_LINGUAS assignment from automake < 1.5.
    2201122281            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
    2201222282          fi
  • TabularUnified xz/vendor/current/configure.ac

    r1791 r1993  
    9898enable_encoders=`echo "$enable_encoders" | sed 's/,/ /g'`
    9999if test "x$enable_encoders" = xno || test "x$enable_encoders" = x; then
     100        enable_encoders=no
    100101        AC_MSG_RESULT([(none)])
    101102else
     
    115116                esac
    116117        done
     118        AC_DEFINE([HAVE_ENCODERS], [1],
     119                [Define to 1 if any of HAVE_ENCODER_foo have been defined.])
    117120        AC_MSG_RESULT([$enable_encoders])
    118121fi
     
    125128enable_decoders=`echo "$enable_decoders" | sed 's/,/ /g'`
    126129if test "x$enable_decoders" = xno || test "x$enable_decoders" = x; then
     130        enable_decoders=no
    127131        AC_MSG_RESULT([(none)])
    128132else
     
    142146                esac
    143147        done
    144 
    145         # LZMA2 requires that LZMA1 is enabled.
    146         test "x$enable_encoder_lzma2" = xyes && enable_encoder_lzma1=yes
    147         test "x$enable_decoder_lzma2" = xyes && enable_decoder_lzma1=yes
    148 
     148        AC_DEFINE([HAVE_DECODERS], [1],
     149                [Define to 1 if any of HAVE_DECODER_foo have been defined.])
    149150        AC_MSG_RESULT([$enable_decoders])
    150151fi
     
    155156fi
    156157
    157 AM_CONDITIONAL(COND_MAIN_ENCODER, test "x$enable_encoders" != xno && test "x$enable_encoders" != x)
    158 AM_CONDITIONAL(COND_MAIN_DECODER, test "x$enable_decoders" != xno && test "x$enable_decoders" != x)
     158AM_CONDITIONAL(COND_MAIN_ENCODER, test "x$enable_encoders" != xno)
     159AM_CONDITIONAL(COND_MAIN_DECODER, test "x$enable_decoders" != xno)
    159160
    160161m4_foreach([NAME], [SUPPORTED_FILTERS],
     
    275276])dnl
    276277
     278AC_MSG_CHECKING([if external SHA-256 should be used])
     279AC_ARG_ENABLE([external-sha256], AS_HELP_STRING([--enable-external-sha256],
     280                [Use SHA-256 code from the operating system.
     281                See INSTALL for possible subtle problems.]),
     282                [], [enable_external_sha256=no])
     283if test "x$enable_check_sha256" != "xyes"; then
     284        enable_external_sha256=no
     285fi
     286if test "x$enable_external_sha256" = xyes; then
     287        AC_MSG_RESULT([yes])
     288else
     289        AC_MSG_RESULT([no])
     290fi
     291
    277292
    278293###########################
     
    416431                [do not build xzdec])],
    417432        [], [enable_xzdec=yes])
     433test "x$enable_decoders" = xno && enable_xzdec=no
    418434AM_CONDITIONAL([COND_XZDEC], [test x$enable_xzdec != xno])
    419435
     
    422438                (it exists primarily for LZMA Utils compatibility)])],
    423439        [], [enable_lzmadec=yes])
     440test "x$enable_decoder_lzma1" = xno && enable_lzmadec=no
    424441AM_CONDITIONAL([COND_LZMADEC], [test x$enable_lzmadec != xno])
    425442
     
    428445                (it exists primarily for LZMA Utils compatibility)])],
    429446        [], [enable_lzmainfo=yes])
     447test "x$enable_decoder_lzma1" = xno && enable_lzmainfo=no
    430448AM_CONDITIONAL([COND_LZMAINFO], [test x$enable_lzmainfo != xno])
    431449
     
    475493
    476494
     495##############
     496# Sandboxing #
     497##############
     498
     499AC_MSG_CHECKING([if sandboxing should be used])
     500AC_ARG_ENABLE([sandbox], [AS_HELP_STRING([--enable-sandbox=METHOD],
     501                [This is an experimental feature.
     502                Sandboxing METHOD can be `auto', `no', or `capsicum'.
     503                The default is `no'.])],
     504        [], [enable_sandbox=no])
     505case $enable_sandbox in
     506        auto)
     507                AC_MSG_RESULT([maybe (autodetect)])
     508                ;;
     509        no | capsicum)
     510                AC_MSG_RESULT([$enable_sandbox])
     511                ;;
     512        *)
     513                AC_MSG_RESULT([])
     514                AC_MSG_ERROR([--enable-sandbox only accepts `auto', `no', or `capsicum'.])
     515                ;;
     516esac
     517
     518
    477519###############################################################################
    478520# Checks for programs.
     
    568610echo
    569611echo "Initializing gettext:"
    570 AM_GNU_GETTEXT_VERSION([0.18])
     612AM_GNU_GETTEXT_VERSION([0.19])
    571613AM_GNU_GETTEXT([external])
    572614
     
    631673
    632674# Find the best function to set timestamps.
    633 AC_CHECK_FUNCS([futimens futimes futimesat utimes utime], [break])
     675AC_CHECK_FUNCS([futimens futimes futimesat utimes _futime utime], [break])
    634676
    635677# This is nice to have but not mandatory.
     
    642684TUKLIB_MBSTR
    643685
    644 # Check for system-provided SHA-256. At least the following is supported:
     686# If requsted, check for system-provided SHA-256. At least the following
     687# implementations are supported:
    645688#
    646689# OS       Headers                     Library  Type           Function
     
    649692# OpenBSD  sys/types.h + sha2.h                 SHA2_CTX       SHA256Init
    650693# Solaris  sys/types.h + sha2.h        libmd    SHA256_CTX     SHA256Init
    651 # MINIX 3  sys/types.h + minix/sha2.h  libutil  SHA256_CTX     SHA256_Init
     694# MINIX 3  sys/types.h + sha2.h                 SHA256_CTX     SHA256_Init
    652695# Darwin   CommonCrypto/CommonDigest.h          CC_SHA256_CTX  CC_SHA256_Init
    653696#
     
    655698# of size_t.
    656699#
    657 # We don't check for e.g. OpenSSL or libgcrypt because we don't want
    658 # to introduce dependencies to other packages by default. Maybe such
    659 # libraries could be supported via additional configure options though.
    660 #
    661 if test "x$enable_check_sha256" = "xyes"; then
     700sha256_header_found=no
     701sha256_type_found=no
     702sha256_func_found=no
     703if test "x$enable_external_sha256" = "xyes"; then
    662704        # Test for Common Crypto before others, because Darwin has sha256.h
    663705        # too and we don't want to use that, because on older versions it
    664706        # uses OpenSSL functions, whose SHA256_Init is not guaranteed to
    665707        # succeed.
    666         sha256_header_found=no
    667708        AC_CHECK_HEADERS(
    668                 [CommonCrypto/CommonDigest.h sha256.h sha2.h minix/sha2.h],
     709                [CommonCrypto/CommonDigest.h sha256.h sha2.h],
    669710                [sha256_header_found=yes ; break])
    670711        if test "x$sha256_header_found" = xyes; then
    671                 AC_CHECK_TYPES([CC_SHA256_CTX, SHA256_CTX, SHA2_CTX], [], [],
     712                AC_CHECK_TYPES([CC_SHA256_CTX, SHA256_CTX, SHA2_CTX],
     713                        [sha256_type_found=yes], [],
    672714                        [[#ifdef HAVE_SYS_TYPES_H
    673715                          # include <sys/types.h>
     
    681723                          #ifdef HAVE_SHA2_H
    682724                          # include <sha2.h>
    683                           #endif
    684                           #ifdef HAVE_MINIX_SHA2_H
    685                           # include <minix/sha2.h>
    686725                          #endif]])
    687                 AC_SEARCH_LIBS([SHA256_Init], [md util])
    688                 AC_SEARCH_LIBS([SHA256Init], [md])
    689                 AC_CHECK_FUNCS([CC_SHA256_Init SHA256_Init SHA256Init],
    690                         [break])
     726                if test "x$sha256_type_found" = xyes ; then
     727                        AC_SEARCH_LIBS([SHA256Init], [md])
     728                        AC_SEARCH_LIBS([SHA256_Init], [md])
     729                        AC_CHECK_FUNCS([CC_SHA256_Init SHA256Init SHA256_Init],
     730                                [sha256_func_found=yes ; break])
     731                fi
    691732        fi
    692733fi
    693 AM_CONDITIONAL([COND_INTERNAL_SHA256],
    694         [test "x$ac_cv_func_SHA256_Init" != xyes \
    695                 && test "x$ac_cv_func_SHA256Init" != xyes \
    696                 && test "x$ac_cv_func_CC_SHA256_Init" != xyes])
     734AM_CONDITIONAL([COND_INTERNAL_SHA256], [test "x$sha256_func_found" = xno])
     735if test "x$enable_external_sha256$sha256_func_found" = xyesno; then
     736        AC_MSG_ERROR([--enable-external-sha256 was specified but no supported external SHA-256 implementation was found])
     737fi
    697738
    698739# Check for SSE2 intrinsics.
     
    704745#include <immintrin.h>
    705746#endif])
     747
     748# Check for sandbox support. If one is found, set enable_sandbox=found.
     749case $enable_sandbox in
     750        auto | capsicum)
     751                AX_CHECK_CAPSICUM([enable_sandbox=found], [:])
     752                ;;
     753esac
     754
     755# If a specific sandboxing method was explicitly requested and it wasn't
     756# found, give an error.
     757case $enable_sandbox in
     758        auto | no | found)
     759                ;;
     760        *)
     761                AC_MSG_ERROR([$enable_sandbox support not found])
     762                ;;
     763esac
    706764
    707765
  • TabularUnified xz/vendor/current/debug/Makefile.in

    r1791 r1993  
    9595subdir = debug
    9696ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    97 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    98         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    99         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    100         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    101         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    102         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    103         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    104         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    105         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    106         $(top_srcdir)/m4/tuklib_common.m4 \
     97am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     98        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     99        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     100        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     101        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     102        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     103        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     104        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     105        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     106        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    107107        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    108108        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    234234AUTOMAKE = @AUTOMAKE@
    235235AWK = @AWK@
     236CAPSICUM_LIB = @CAPSICUM_LIB@
    236237CC = @CC@
    237238CCAS = @CCAS@
  • TabularUnified xz/vendor/current/dos/config.h

    r1791 r1993  
    1010/* Define to 1 if sha256 integrity check is enabled. */
    1111#define HAVE_CHECK_SHA256 1
     12
     13/* Define to 1 if any of HAVE_DECODER_foo have been defined. */
     14#define HAVE_DECODERS 1
    1215
    1316/* Define to 1 if arm decoder is enabled. */
     
    3740/* Define to 1 if x86 decoder is enabled. */
    3841#define HAVE_DECODER_X86 1
     42
     43/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */
     44#define HAVE_ENCODERS 1
    3945
    4046/* Define to 1 if arm encoder is enabled. */
  • TabularUnified xz/vendor/current/lib/Makefile.in

    r1791 r1993  
    9191subdir = lib
    9292ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    94         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    95         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    96         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    97         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    98         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    99         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    100         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    101         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    102         $(top_srcdir)/m4/tuklib_common.m4 \
     93am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     94        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     95        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     96        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     97        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     98        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     99        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     100        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     101        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     102        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    103103        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    104104        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    182182AUTOMAKE = @AUTOMAKE@
    183183AWK = @AWK@
     184CAPSICUM_LIB = @CAPSICUM_LIB@
    184185CC = @CC@
    185186CCAS = @CCAS@
  • TabularUnified xz/vendor/current/m4/gettext.m4

    r1791 r1993  
    1 # gettext.m4 serial 63 (gettext-0.18)
    2 dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
     1# gettext.m4 serial 66 (gettext-0.18.2)
     2dnl Copyright (C) 1995-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    3636dnl    support the ISO C 99 <inttypes.h> formatstring macros will be ignored.
    3737dnl INTLDIR is used to find the intl libraries.  If empty,
    38 dnl    the value `$(top_builddir)/intl/' is used.
     38dnl    the value '$(top_builddir)/intl/' is used.
    3939dnl
    4040dnl The result of the configuration is one of three cases:
     
    9898  ])
    9999
    100   dnl Sometimes, on MacOS X, libintl requires linking with CoreFoundation.
     100  dnl Sometimes, on Mac OS X, libintl requires linking with CoreFoundation.
    101101  gt_INTL_MACOSX
    102102
     
    158158
    159159        AC_CACHE_CHECK([for GNU gettext in libc], [$gt_func_gnugettext_libc],
    160          [AC_TRY_LINK([#include <libintl.h>
     160         [AC_LINK_IFELSE(
     161            [AC_LANG_PROGRAM(
     162               [[
     163#include <libintl.h>
    161164$gt_revision_test_code
    162165extern int _nl_msg_cat_cntr;
    163 extern int *_nl_domain_bindings;],
    164             [bindtextdomain ("", "");
    165 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings],
     166extern int *_nl_domain_bindings;
     167               ]],
     168               [[
     169bindtextdomain ("", "");
     170return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_domain_bindings
     171               ]])],
    166172            [eval "$gt_func_gnugettext_libc=yes"],
    167173            [eval "$gt_func_gnugettext_libc=no"])])
     
    184190            LIBS="$LIBS $LIBINTL"
    185191            dnl Now see whether libintl exists and does not depend on libiconv.
    186             AC_TRY_LINK([#include <libintl.h>
     192            AC_LINK_IFELSE(
     193              [AC_LANG_PROGRAM(
     194                 [[
     195#include <libintl.h>
    187196$gt_revision_test_code
    188197extern int _nl_msg_cat_cntr;
     
    191200"C"
    192201#endif
    193 const char *_nl_expand_alias (const char *);],
    194               [bindtextdomain ("", "");
    195 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
     202const char *_nl_expand_alias (const char *);
     203                 ]],
     204                 [[
     205bindtextdomain ("", "");
     206return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     207                 ]])],
    196208              [eval "$gt_func_gnugettext_libintl=yes"],
    197209              [eval "$gt_func_gnugettext_libintl=no"])
     
    199211            if { eval "gt_val=\$$gt_func_gnugettext_libintl"; test "$gt_val" != yes; } && test -n "$LIBICONV"; then
    200212              LIBS="$LIBS $LIBICONV"
    201               AC_TRY_LINK([#include <libintl.h>
     213              AC_LINK_IFELSE(
     214                [AC_LANG_PROGRAM(
     215                   [[
     216#include <libintl.h>
    202217$gt_revision_test_code
    203218extern int _nl_msg_cat_cntr;
     
    206221"C"
    207222#endif
    208 const char *_nl_expand_alias (const char *);],
    209                 [bindtextdomain ("", "");
    210 return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
    211                [LIBINTL="$LIBINTL $LIBICONV"
    212                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
    213                 eval "$gt_func_gnugettext_libintl=yes"
    214                ])
     223const char *_nl_expand_alias (const char *);
     224                   ]],
     225                   [[
     226bindtextdomain ("", "");
     227return * gettext ("")$gt_expression_test_code + _nl_msg_cat_cntr + *_nl_expand_alias ("")
     228                   ]])],
     229                [LIBINTL="$LIBINTL $LIBICONV"
     230                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
     231                 eval "$gt_func_gnugettext_libintl=yes"
     232                ])
    215233            fi
    216234            CPPFLAGS="$gt_save_CPPFLAGS"
  • TabularUnified xz/vendor/current/m4/iconv.m4

    r1791 r1993  
    1 # iconv.m4 serial 9 (gettext-0.18)
    2 dnl Copyright (C) 2000-2002, 2007-2010 Free Software Foundation, Inc.
     1# iconv.m4 serial 18 (gettext-0.18.2)
     2dnl Copyright (C) 2000-2002, 2007-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    3131  dnl because if the user has installed libiconv and not disabled its use
    3232  dnl via --without-libiconv-prefix, he wants to use it. The first
    33   dnl AC_TRY_LINK will then fail, the second AC_TRY_LINK will succeed.
     33  dnl AC_LINK_IFELSE will then fail, the second AC_LINK_IFELSE will succeed.
    3434  am_save_CPPFLAGS="$CPPFLAGS"
    3535  AC_LIB_APPENDTOVAR([CPPFLAGS], [$INCICONV])
     
    3838    am_cv_func_iconv="no, consider installing GNU libiconv"
    3939    am_cv_lib_iconv=no
    40     AC_TRY_LINK([#include <stdlib.h>
    41 #include <iconv.h>],
    42       [iconv_t cd = iconv_open("","");
    43        iconv(cd,NULL,NULL,NULL,NULL);
    44        iconv_close(cd);],
     40    AC_LINK_IFELSE(
     41      [AC_LANG_PROGRAM(
     42         [[
     43#include <stdlib.h>
     44#include <iconv.h>
     45         ]],
     46         [[iconv_t cd = iconv_open("","");
     47           iconv(cd,NULL,NULL,NULL,NULL);
     48           iconv_close(cd);]])],
    4549      [am_cv_func_iconv=yes])
    4650    if test "$am_cv_func_iconv" != yes; then
    4751      am_save_LIBS="$LIBS"
    4852      LIBS="$LIBS $LIBICONV"
    49       AC_TRY_LINK([#include <stdlib.h>
    50 #include <iconv.h>],
    51         [iconv_t cd = iconv_open("","");
    52          iconv(cd,NULL,NULL,NULL,NULL);
    53          iconv_close(cd);],
     53      AC_LINK_IFELSE(
     54        [AC_LANG_PROGRAM(
     55           [[
     56#include <stdlib.h>
     57#include <iconv.h>
     58           ]],
     59           [[iconv_t cd = iconv_open("","");
     60             iconv(cd,NULL,NULL,NULL,NULL);
     61             iconv_close(cd);]])],
    5462        [am_cv_lib_iconv=yes]
    5563        [am_cv_func_iconv=yes])
     
    5967  if test "$am_cv_func_iconv" = yes; then
    6068    AC_CACHE_CHECK([for working iconv], [am_cv_func_iconv_works], [
    61       dnl This tests against bugs in AIX 5.1, HP-UX 11.11, Solaris 10.
     69      dnl This tests against bugs in AIX 5.1, AIX 6.1..7.1, HP-UX 11.11,
     70      dnl Solaris 10.
    6271      am_save_LIBS="$LIBS"
    6372      if test $am_cv_lib_iconv = yes; then
    6473        LIBS="$LIBS $LIBICONV"
    6574      fi
    66       AC_TRY_RUN([
     75      AC_RUN_IFELSE(
     76        [AC_LANG_SOURCE([[
    6777#include <iconv.h>
    6878#include <string.h>
    6979int main ()
    7080{
     81  int result = 0;
    7182  /* Test against AIX 5.1 bug: Failures are not distinguishable from successful
    7283     returns.  */
     
    8596                            &outptr, &outbytesleft);
    8697        if (res == 0)
    87           return 1;
     98          result |= 1;
     99        iconv_close (cd_utf8_to_88591);
    88100      }
    89101  }
     
    104116                            &outptr, &outbytesleft);
    105117        if (res == 0)
    106           return 1;
     118          result |= 2;
     119        iconv_close (cd_ascii_to_88591);
     120      }
     121  }
     122  /* Test against AIX 6.1..7.1 bug: Buffer overrun.  */
     123  {
     124    iconv_t cd_88591_to_utf8 = iconv_open ("UTF-8", "ISO-8859-1");
     125    if (cd_88591_to_utf8 != (iconv_t)(-1))
     126      {
     127        static const char input[] = "\304";
     128        static char buf[2] = { (char)0xDE, (char)0xAD };
     129        const char *inptr = input;
     130        size_t inbytesleft = 1;
     131        char *outptr = buf;
     132        size_t outbytesleft = 1;
     133        size_t res = iconv (cd_88591_to_utf8,
     134                            (char **) &inptr, &inbytesleft,
     135                            &outptr, &outbytesleft);
     136        if (res != (size_t)(-1) || outptr - buf > 1 || buf[1] != (char)0xAD)
     137          result |= 4;
     138        iconv_close (cd_88591_to_utf8);
    107139      }
    108140  }
     
    123155                            &outptr, &outbytesleft);
    124156        if ((int)res > 0)
    125           return 1;
     157          result |= 8;
     158        iconv_close (cd_88591_to_utf8);
    126159      }
    127160  }
     
    137170      /* Try HP-UX names.  */
    138171      && iconv_open ("utf8", "eucJP") == (iconv_t)(-1))
    139     return 1;
    140   return 0;
    141 }], [am_cv_func_iconv_works=yes], [am_cv_func_iconv_works=no],
    142         [case "$host_os" in
     172    result |= 16;
     173  return result;
     174}]])],
     175        [am_cv_func_iconv_works=yes],
     176        [am_cv_func_iconv_works=no],
     177        [
     178changequote(,)dnl
     179         case "$host_os" in
    143180           aix* | hpux*) am_cv_func_iconv_works="guessing no" ;;
    144181           *)            am_cv_func_iconv_works="guessing yes" ;;
    145          esac])
     182         esac
     183changequote([,])dnl
     184        ])
    146185      LIBS="$am_save_LIBS"
    147186    ])
     
    171210])
    172211
    173 AC_DEFUN([AM_ICONV],
     212dnl Define AM_ICONV using AC_DEFUN_ONCE for Autoconf >= 2.64, in order to
     213dnl avoid warnings like
     214dnl "warning: AC_REQUIRE: `AM_ICONV' was expanded before it was required".
     215dnl This is tricky because of the way 'aclocal' is implemented:
     216dnl - It requires defining an auxiliary macro whose name ends in AC_DEFUN.
     217dnl   Otherwise aclocal's initial scan pass would miss the macro definition.
     218dnl - It requires a line break inside the AC_DEFUN_ONCE and AC_DEFUN expansions.
     219dnl   Otherwise aclocal would emit many "Use of uninitialized value $1"
     220dnl   warnings.
     221m4_define([gl_iconv_AC_DEFUN],
     222  m4_version_prereq([2.64],
     223    [[AC_DEFUN_ONCE(
     224        [$1], [$2])]],
     225    [m4_ifdef([gl_00GNULIB],
     226       [[AC_DEFUN_ONCE(
     227           [$1], [$2])]],
     228       [[AC_DEFUN(
     229           [$1], [$2])]])]))
     230gl_iconv_AC_DEFUN([AM_ICONV],
    174231[
    175232  AM_ICONV_LINK
     
    177234    AC_MSG_CHECKING([for iconv declaration])
    178235    AC_CACHE_VAL([am_cv_proto_iconv], [
    179       AC_TRY_COMPILE([
     236      AC_COMPILE_IFELSE(
     237        [AC_LANG_PROGRAM(
     238           [[
    180239#include <stdlib.h>
    181240#include <iconv.h>
     
    184243"C"
    185244#endif
    186 #if defined(__STDC__) || defined(__cplusplus)
     245#if defined(__STDC__) || defined(_MSC_VER) || defined(__cplusplus)
    187246size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
    188247#else
    189248size_t iconv();
    190249#endif
    191 ], [], [am_cv_proto_iconv_arg1=""], [am_cv_proto_iconv_arg1="const"])
     250           ]],
     251           [[]])],
     252        [am_cv_proto_iconv_arg1=""],
     253        [am_cv_proto_iconv_arg1="const"])
    192254      am_cv_proto_iconv="extern size_t iconv (iconv_t cd, $am_cv_proto_iconv_arg1 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"])
    193255    am_cv_proto_iconv=`echo "[$]am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
     
    196258    AC_DEFINE_UNQUOTED([ICONV_CONST], [$am_cv_proto_iconv_arg1],
    197259      [Define as const if the declaration of iconv() needs const.])
     260    dnl Also substitute ICONV_CONST in the gnulib generated <iconv.h>.
     261    m4_ifdef([gl_ICONV_H_DEFAULTS],
     262      [AC_REQUIRE([gl_ICONV_H_DEFAULTS])
     263       if test -n "$am_cv_proto_iconv_arg1"; then
     264         ICONV_CONST="const"
     265       fi
     266      ])
    198267  fi
    199268])
  • TabularUnified xz/vendor/current/m4/intlmacosx.m4

    r1791 r1993  
    1 # intlmacosx.m4 serial 3 (gettext-0.18)
    2 dnl Copyright (C) 2004-2010 Free Software Foundation, Inc.
     1# intlmacosx.m4 serial 5 (gettext-0.18.2)
     2dnl Copyright (C) 2004-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    1414dnl They are *not* in the public domain.
    1515
    16 dnl Checks for special options needed on MacOS X.
     16dnl Checks for special options needed on Mac OS X.
    1717dnl Defines INTL_MACOSX_LIBS.
    1818AC_DEFUN([gt_INTL_MACOSX],
    1919[
    20   dnl Check for API introduced in MacOS X 10.2.
     20  dnl Check for API introduced in Mac OS X 10.2.
    2121  AC_CACHE_CHECK([for CFPreferencesCopyAppValue],
    2222    [gt_cv_func_CFPreferencesCopyAppValue],
    2323    [gt_save_LIBS="$LIBS"
    2424     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
    25      AC_TRY_LINK([#include <CoreFoundation/CFPreferences.h>],
    26        [CFPreferencesCopyAppValue(NULL, NULL)],
     25     AC_LINK_IFELSE(
     26       [AC_LANG_PROGRAM(
     27          [[#include <CoreFoundation/CFPreferences.h>]],
     28          [[CFPreferencesCopyAppValue(NULL, NULL)]])],
    2729       [gt_cv_func_CFPreferencesCopyAppValue=yes],
    2830       [gt_cv_func_CFPreferencesCopyAppValue=no])
     
    3032  if test $gt_cv_func_CFPreferencesCopyAppValue = yes; then
    3133    AC_DEFINE([HAVE_CFPREFERENCESCOPYAPPVALUE], [1],
    32       [Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
     34      [Define to 1 if you have the Mac OS X function CFPreferencesCopyAppValue in the CoreFoundation framework.])
    3335  fi
    34   dnl Check for API introduced in MacOS X 10.3.
     36  dnl Check for API introduced in Mac OS X 10.3.
    3537  AC_CACHE_CHECK([for CFLocaleCopyCurrent], [gt_cv_func_CFLocaleCopyCurrent],
    3638    [gt_save_LIBS="$LIBS"
    3739     LIBS="$LIBS -Wl,-framework -Wl,CoreFoundation"
    38      AC_TRY_LINK([#include <CoreFoundation/CFLocale.h>], [CFLocaleCopyCurrent();],
     40     AC_LINK_IFELSE(
     41       [AC_LANG_PROGRAM(
     42          [[#include <CoreFoundation/CFLocale.h>]],
     43          [[CFLocaleCopyCurrent();]])],
    3944       [gt_cv_func_CFLocaleCopyCurrent=yes],
    4045       [gt_cv_func_CFLocaleCopyCurrent=no])
     
    4247  if test $gt_cv_func_CFLocaleCopyCurrent = yes; then
    4348    AC_DEFINE([HAVE_CFLOCALECOPYCURRENT], [1],
    44       [Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
     49      [Define to 1 if you have the Mac OS X function CFLocaleCopyCurrent in the CoreFoundation framework.])
    4550  fi
    4651  INTL_MACOSX_LIBS=
  • TabularUnified xz/vendor/current/m4/lib-ld.m4

    r1791 r1993  
    1 # lib-ld.m4 serial 4 (gettext-0.18)
    2 dnl Copyright (C) 1996-2003, 2009-2010 Free Software Foundation, Inc.
     1# lib-ld.m4 serial 6
     2dnl Copyright (C) 1996-2003, 2009-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    66
    77dnl Subroutines of libtool.m4,
    8 dnl with replacements s/AC_/AC_LIB/ and s/lt_cv/acl_cv/ to avoid collision
    9 dnl with libtool.m4.
     8dnl with replacements s/_*LT_PATH/AC_LIB_PROG/ and s/lt_/acl_/ to avoid
     9dnl collision with libtool.m4.
    1010
    11 dnl From libtool-1.4. Sets the variable with_gnu_ld to yes or no.
     11dnl From libtool-2.4. Sets the variable with_gnu_ld to yes or no.
    1212AC_DEFUN([AC_LIB_PROG_LD_GNU],
    1313[AC_CACHE_CHECK([if the linker ($LD) is GNU ld], [acl_cv_prog_gnu_ld],
    14 [# I'd rather use --version here, but apparently some GNU ld's only accept -v.
     14[# I'd rather use --version here, but apparently some GNU lds only accept -v.
    1515case `$LD -v 2>&1 </dev/null` in
    1616*GNU* | *'with BFD'*)
    17   acl_cv_prog_gnu_ld=yes ;;
     17  acl_cv_prog_gnu_ld=yes
     18  ;;
    1819*)
    19   acl_cv_prog_gnu_ld=no ;;
     20  acl_cv_prog_gnu_ld=no
     21  ;;
    2022esac])
    2123with_gnu_ld=$acl_cv_prog_gnu_ld
    2224])
    2325
    24 dnl From libtool-1.4. Sets the variable LD.
     26dnl From libtool-2.4. Sets the variable LD.
    2527AC_DEFUN([AC_LIB_PROG_LD],
    26 [AC_ARG_WITH([gnu-ld],
    27 [  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]],
    28 test "$withval" = no || with_gnu_ld=yes, with_gnu_ld=no)
    29 AC_REQUIRE([AC_PROG_CC])dnl
     28[AC_REQUIRE([AC_PROG_CC])dnl
    3029AC_REQUIRE([AC_CANONICAL_HOST])dnl
     30
     31AC_ARG_WITH([gnu-ld],
     32    [AS_HELP_STRING([--with-gnu-ld],
     33        [assume the C compiler uses GNU ld [default=no]])],
     34    [test "$withval" = no || with_gnu_ld=yes],
     35    [with_gnu_ld=no])dnl
     36
    3137# Prepare PATH_SEPARATOR.
    3238# The user is always right.
    3339if test "${PATH_SEPARATOR+set}" != set; then
    34   echo "#! /bin/sh" >conf$$.sh
    35   echo  "exit 0"   >>conf$$.sh
    36   chmod +x conf$$.sh
    37   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    38     PATH_SEPARATOR=';'
    39   else
    40     PATH_SEPARATOR=:
    41   fi
    42   rm -f conf$$.sh
     40  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     41  # contains only /bin. Note that ksh looks also at the FPATH variable,
     42  # so we have to set that as well for the test.
     43  PATH_SEPARATOR=:
     44  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     45    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     46           || PATH_SEPARATOR=';'
     47       }
    4348fi
     49
    4450ac_prog=ld
    4551if test "$GCC" = yes; then
    4652  # Check if gcc -print-prog-name=ld gives a path.
    47   AC_MSG_CHECKING([for ld used by GCC])
     53  AC_MSG_CHECKING([for ld used by $CC])
    4854  case $host in
    4955  *-*-mingw*)
     
    5561  case $ac_prog in
    5662    # Accept absolute paths.
    57     [[\\/]* | [A-Za-z]:[\\/]*)]
    58       [re_direlt='/[^/][^/]*/\.\./']
    59       # Canonicalize the path of ld
    60       ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
    61       while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
     63    [[\\/]]* | ?:[[\\/]]*)
     64      re_direlt='/[[^/]][[^/]]*/\.\./'
     65      # Canonicalize the pathname of ld
     66      ac_prog=`echo "$ac_prog"| sed 's%\\\\%/%g'`
     67      while echo "$ac_prog" | grep "$re_direlt" > /dev/null 2>&1; do
    6268        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
    6369      done
     
    8086AC_CACHE_VAL([acl_cv_path_LD],
    8187[if test -z "$LD"; then
    82   IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
     88  acl_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
    8389  for ac_dir in $PATH; do
     90    IFS="$acl_save_ifs"
    8491    test -z "$ac_dir" && ac_dir=.
    8592    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
    8693      acl_cv_path_LD="$ac_dir/$ac_prog"
    8794      # Check to see if the program is GNU ld.  I'd rather use --version,
    88       # but apparently some GNU ld's only accept -v.
     95      # but apparently some variants of GNU ld only accept -v.
    8996      # Break only if it was the GNU/non-GNU ld that we prefer.
    90       case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
     97      case `"$acl_cv_path_LD" -v 2>&1 </dev/null` in
    9198      *GNU* | *'with BFD'*)
    92         test "$with_gnu_ld" != no && break ;;
     99        test "$with_gnu_ld" != no && break
     100        ;;
    93101      *)
    94         test "$with_gnu_ld" != yes && break ;;
     102        test "$with_gnu_ld" != yes && break
     103        ;;
    95104      esac
    96105    fi
    97106  done
    98   IFS="$ac_save_ifs"
     107  IFS="$acl_save_ifs"
    99108else
    100109  acl_cv_path_LD="$LD" # Let the user override the test with a path.
  • TabularUnified xz/vendor/current/m4/lib-link.m4

    r1791 r1993  
    1 # lib-link.m4 serial 21 (gettext-0.18)
    2 dnl Copyright (C) 2001-2010 Free Software Foundation, Inc.
     1# lib-link.m4 serial 26 (gettext-0.18.2)
     2dnl Copyright (C) 2001-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    1919  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
    2020  AC_REQUIRE([AC_LIB_RPATH])
    21   pushdef([Name],[translit([$1],[./-], [___])])
    22   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
    23                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
     21  pushdef([Name],[m4_translit([$1],[./+-], [____])])
     22  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
     23                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
    2424  AC_CACHE_CHECK([how to link with lib[]$1], [ac_cv_lib[]Name[]_libs], [
    2525    AC_LIB_LINKFLAGS_BODY([$1], [$2])
     
    5959  AC_REQUIRE([AC_LIB_PREPARE_PREFIX])
    6060  AC_REQUIRE([AC_LIB_RPATH])
    61   pushdef([Name],[translit([$1],[./-], [___])])
    62   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
    63                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
     61  pushdef([Name],[m4_translit([$1],[./+-], [____])])
     62  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
     63                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
    6464
    6565  dnl Search for lib[]Name and define LIB[]NAME, LTLIB[]NAME and INC[]NAME
     
    8686      *)       LIBS="$LIB[]NAME $LIBS" ;;
    8787    esac
    88     AC_TRY_LINK([$3], [$4],
     88    AC_LINK_IFELSE(
     89      [AC_LANG_PROGRAM([[$3]], [[$4]])],
    8990      [ac_cv_lib[]Name=yes],
    9091      [ac_cv_lib[]Name='m4_if([$5], [], [no], [[$5]])'])
     
    116117dnl   acl_libext,
    117118dnl   acl_shlibext,
     119dnl   acl_libname_spec,
     120dnl   acl_library_names_spec,
    118121dnl   acl_hardcode_libdir_flag_spec,
    119122dnl   acl_hardcode_libdir_separator,
     
    158161AC_DEFUN([AC_LIB_FROMPACKAGE],
    159162[
    160   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
    161                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
     163  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
     164                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
    162165  define([acl_frompackage_]NAME, [$2])
    163166  popdef([NAME])
    164167  pushdef([PACK],[$2])
    165   pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
    166                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
     168  pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
     169                                     [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
    167170  define([acl_libsinpackage_]PACKUP,
    168     m4_ifdef([acl_libsinpackage_]PACKUP, [acl_libsinpackage_]PACKUP[[, ]],)[lib$1])
     171    m4_ifdef([acl_libsinpackage_]PACKUP, [m4_defn([acl_libsinpackage_]PACKUP)[, ]],)[lib$1])
    169172  popdef([PACKUP])
    170173  popdef([PACK])
     
    179182[
    180183  AC_REQUIRE([AC_LIB_PREPARE_MULTILIB])
    181   pushdef([NAME],[translit([$1],[abcdefghijklmnopqrstuvwxyz./-],
    182                                 [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
     184  pushdef([NAME],[m4_translit([$1],[abcdefghijklmnopqrstuvwxyz./+-],
     185                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
    183186  pushdef([PACK],[m4_ifdef([acl_frompackage_]NAME, [acl_frompackage_]NAME, lib[$1])])
    184   pushdef([PACKUP],[translit(PACK,[abcdefghijklmnopqrstuvwxyz./-],
    185                                   [ABCDEFGHIJKLMNOPQRSTUVWXYZ___])])
     187  pushdef([PACKUP],[m4_translit(PACK,[abcdefghijklmnopqrstuvwxyz./+-],
     188                                     [ABCDEFGHIJKLMNOPQRSTUVWXYZ____])])
    186189  pushdef([PACKLIBS],[m4_ifdef([acl_frompackage_]NAME, [acl_libsinpackage_]PACKUP, lib[$1])])
    187190  dnl Autoconf >= 2.61 supports dots in --with options.
    188   pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[translit(PACK,[.],[_])],PACK)])
     191  pushdef([P_A_C_K],[m4_if(m4_version_compare(m4_defn([m4_PACKAGE_VERSION]),[2.61]),[-1],[m4_translit(PACK,[.],[_])],PACK)])
    189192  dnl By default, look in $includedir and $libdir.
    190193  use_additional=yes
     
    243246        dnl See if it was already located by an earlier AC_LIB_LINKFLAGS
    244247        dnl or AC_LIB_HAVE_LINKFLAGS call.
    245         uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
     248        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
    246249        eval value=\"\$HAVE_LIB$uppername\"
    247250        if test -n "$value"; then
  • TabularUnified xz/vendor/current/m4/lib-prefix.m4

    r1791 r1993  
    11# lib-prefix.m4 serial 7 (gettext-0.18)
    2 dnl Copyright (C) 2001-2005, 2008-2010 Free Software Foundation, Inc.
     2dnl Copyright (C) 2001-2005, 2008-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
  • TabularUnified xz/vendor/current/m4/nls.m4

    r1791 r1993  
    11# nls.m4 serial 5 (gettext-0.18)
    2 dnl Copyright (C) 1995-2003, 2005-2006, 2008-2010 Free Software Foundation,
     2dnl Copyright (C) 1995-2003, 2005-2006, 2008-2014 Free Software Foundation,
    33dnl Inc.
    44dnl This file is free software; the Free Software Foundation
  • TabularUnified xz/vendor/current/m4/po.m4

    r1791 r1993  
    1 # po.m4 serial 17 (gettext-0.18)
    2 dnl Copyright (C) 1995-2010 Free Software Foundation, Inc.
     1# po.m4 serial 22 (gettext-0.19)
     2dnl Copyright (C) 1995-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    1818dnl   Bruno Haible <haible@clisp.cons.org>, 2000-2003.
    1919
    20 AC_PREREQ([2.50])
     20AC_PREREQ([2.60])
    2121
    2222dnl Checks for all prerequisites of the po subdirectory.
     
    2525  AC_REQUIRE([AC_PROG_MAKE_SET])dnl
    2626  AC_REQUIRE([AC_PROG_INSTALL])dnl
    27   AC_REQUIRE([AM_PROG_MKDIR_P])dnl defined by automake
     27  AC_REQUIRE([AC_PROG_MKDIR_P])dnl
     28  AC_REQUIRE([AC_PROG_SED])dnl
    2829  AC_REQUIRE([AM_NLS])dnl
    2930
    3031  dnl Release version of the gettext macros. This is used to ensure that
    3132  dnl the gettext macros and po/Makefile.in.in are in sync.
    32   AC_SUBST([GETTEXT_MACRO_VERSION], [0.18])
     33  AC_SUBST([GETTEXT_MACRO_VERSION], [0.19])
    3334
    3435  dnl Perform the following tests also if --disable-nls has been given,
     
    103104        # Adjust a relative srcdir.
    104105        ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
    105         ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
     106        ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
    106107        ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
    107108        # In autoconf-2.13 it is called $ac_given_srcdir.
     
    119120          rm -f "$ac_dir/POTFILES"
    120121          test -n "$as_me" && echo "$as_me: creating $ac_dir/POTFILES" || echo "creating $ac_dir/POTFILES"
    121           cat "$ac_given_srcdir/$ac_dir/POTFILES.in" | sed -e "/^#/d" -e "/^[   ]*\$/d" -e "s,.*,     $top_srcdir/& \\\\," | sed -e "\$s/\(.*\) \\\\/\1/" > "$ac_dir/POTFILES"
     122          gt_tab=`printf '\t'`
     123          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"
    122124          POMAKEFILEDEPS="POTFILES.in"
    123125          # ALL_LINGUAS, POFILES, UPDATEPOFILES, DUMMYPOFILES, GMOFILES depend
     
    130132            fi
    131133            ALL_LINGUAS_=`sed -e "/^#/d" -e "s/#.*//" "$ac_given_srcdir/$ac_dir/LINGUAS"`
    132             # Hide the ALL_LINGUAS assigment from automake < 1.5.
     134            # Hide the ALL_LINGUAS assignment from automake < 1.5.
    133135            eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
    134136            POMAKEFILEDEPS="$POMAKEFILEDEPS LINGUAS"
    135137          else
    136138            # The set of available languages was given in configure.in.
    137             # Hide the ALL_LINGUAS assigment from automake < 1.5.
     139            # Hide the ALL_LINGUAS assignment from automake < 1.5.
    138140            eval 'ALL_LINGUAS''=$OBSOLETE_ALL_LINGUAS'
    139141          fi
     
    227229  # Adjust a relative srcdir.
    228230  ac_dir=`echo "$ac_file"|sed 's%/[^/][^/]*$%%'`
    229   ac_dir_suffix="/`echo "$ac_dir"|sed 's%^\./%%'`"
     231  ac_dir_suffix=/`echo "$ac_dir"|sed 's%^\./%%'`
    230232  ac_dots=`echo "$ac_dir_suffix"|sed 's%/[^/]*%../%g'`
    231233  # In autoconf-2.13 it is called $ac_given_srcdir.
     
    255257
    256258  # A sed script that extracts the value of VARIABLE from a Makefile.
     259  tab=`printf '\t'`
    257260  sed_x_variable='
    258261# Test if the hold space is empty.
     
    262265ta
    263266# Yes it was empty. Look if we have the expected variable definition.
    264 /^[      ]*VARIABLE[    ]*=/{
     267/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=/{
    265268  # Seen the first line of the variable definition.
    266   s/^[   ]*VARIABLE[    ]*=//
     269  s/^['"${tab}"' ]*VARIABLE['"${tab}"' ]*=//
    267270  ba
    268271}
     
    316319    ALL_LINGUAS_=`sed -n -e "$sed_x_LINGUAS" < "$ac_file"`
    317320  fi
    318   # Hide the ALL_LINGUAS assigment from automake < 1.5.
     321  # Hide the ALL_LINGUAS assignment from automake < 1.5.
    319322  eval 'ALL_LINGUAS''=$ALL_LINGUAS_'
    320323  # Compute POFILES
     
    406409
    407410  sed -e "s|@POTFILES_DEPS@|$POTFILES_DEPS|g" -e "s|@POFILES@|$POFILES|g" -e "s|@UPDATEPOFILES@|$UPDATEPOFILES|g" -e "s|@DUMMYPOFILES@|$DUMMYPOFILES|g" -e "s|@GMOFILES@|$GMOFILES|g" -e "s|@PROPERTIESFILES@|$PROPERTIESFILES|g" -e "s|@CLASSFILES@|$CLASSFILES|g" -e "s|@QMFILES@|$QMFILES|g" -e "s|@MSGFILES@|$MSGFILES|g" -e "s|@RESOURCESDLLFILES@|$RESOURCESDLLFILES|g" -e "s|@CATALOGS@|$CATALOGS|g" -e "s|@JAVACATALOGS@|$JAVACATALOGS|g" -e "s|@QTCATALOGS@|$QTCATALOGS|g" -e "s|@TCLCATALOGS@|$TCLCATALOGS|g" -e "s|@CSHARPCATALOGS@|$CSHARPCATALOGS|g" -e 's,^#distdir:,distdir:,' < "$ac_file" > "$ac_file.tmp"
     411  tab=`printf '\t'`
    408412  if grep -l '@TCLCATALOGS@' "$ac_file" > /dev/null; then
    409413    # Add dependencies that cannot be formulated as a simple suffix rule.
     
    412416      cat >> "$ac_file.tmp" <<EOF
    413417$frobbedlang.msg: $lang.po
    414         @echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
    415         \$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
     418${tab}@echo "\$(MSGFMT) -c --tcl -d \$(srcdir) -l $lang $srcdirpre$lang.po"; \
     419${tab}\$(MSGFMT) -c --tcl -d "\$(srcdir)" -l $lang $srcdirpre$lang.po || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
    416420EOF
    417421    done
     
    423427      cat >> "$ac_file.tmp" <<EOF
    424428$frobbedlang/\$(DOMAIN).resources.dll: $lang.po
    425         @echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
    426         \$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
     429${tab}@echo "\$(MSGFMT) -c --csharp -d \$(srcdir) -l $lang $srcdirpre$lang.po -r \$(DOMAIN)"; \
     430${tab}\$(MSGFMT) -c --csharp -d "\$(srcdir)" -l $lang $srcdirpre$lang.po -r "\$(DOMAIN)" || { rm -f "\$(srcdir)/$frobbedlang.msg"; exit 1; }
    427431EOF
    428432    done
  • TabularUnified xz/vendor/current/m4/progtest.m4

    r1791 r1993  
    1 # progtest.m4 serial 6 (gettext-0.18)
    2 dnl Copyright (C) 1996-2003, 2005, 2008-2010 Free Software Foundation, Inc.
     1# progtest.m4 serial 7 (gettext-0.18.2)
     2dnl Copyright (C) 1996-2003, 2005, 2008-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    2828# The user is always right.
    2929if test "${PATH_SEPARATOR+set}" != set; then
    30   echo "#! /bin/sh" >conf$$.sh
    31   echo  "exit 0"   >>conf$$.sh
    32   chmod +x conf$$.sh
    33   if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
    34     PATH_SEPARATOR=';'
    35   else
    36     PATH_SEPARATOR=:
    37   fi
    38   rm -f conf$$.sh
     30  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
     31  # contains only /bin. Note that ksh looks also at the FPATH variable,
     32  # so we have to set that as well for the test.
     33  PATH_SEPARATOR=:
     34  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     35    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
     36           || PATH_SEPARATOR=';'
     37       }
    3938fi
    4039
  • TabularUnified xz/vendor/current/m4/tuklib_cpucores.m4

    r1791 r1993  
    1111#   Supported methods:
    1212#     - GetSystemInfo(): Windows (including Cygwin)
     13#     - sched_getaffinity(): glibc (GNU/Linux, GNU/kFreeBSD)
     14#     - cpuset_getaffinity(): FreeBSD
    1315#     - sysctl(): BSDs, OS/2
    1416#     - sysconf(): GNU/Linux, Solaris, Tru64, IRIX, AIX, QNX, Cygwin (but
     
    4648]])], [tuklib_cv_cpucores_method=special], [
    4749
     50# glibc-based systems (GNU/Linux and GNU/kFreeBSD) have sched_getaffinity().
     51# The CPU_COUNT() macro was added in glibc 2.9 so we try to link the
     52# test program instead of merely compiling it. glibc 2.9 is old enough that
     53# if someone uses the code on older glibc, the fallback to sysconf() should
     54# be good enough.
     55AC_LINK_IFELSE([AC_LANG_SOURCE([[
     56#include <sched.h>
     57int
     58main(void)
     59{
     60        cpu_set_t cpu_mask;
     61        sched_getaffinity(0, sizeof(cpu_mask), &cpu_mask);
     62        return CPU_COUNT(&cpu_mask);
     63}
     64]])], [tuklib_cv_cpucores_method=sched_getaffinity], [
     65
    4866# FreeBSD has both cpuset and sysctl. Look for cpuset first because
    4967# it's a better approach.
     68#
     69# This test would match on GNU/kFreeBSD too but it would require
     70# -lfreebsd-glue when linking and thus in the current form this would
     71# fail on GNU/kFreeBSD. The above test for sched_getaffinity() matches
     72# on GNU/kFreeBSD so the test below should never run on that OS.
    5073AC_COMPILE_IFELSE([AC_LANG_SOURCE([[
    5174#include <sys/param.h>
     
    121144
    122145        tuklib_cv_cpucores_method=unknown
    123 ])])])])])])
     146])])])])])])])
    124147
    125148case $tuklib_cv_cpucores_method in
     149        sched_getaffinity)
     150                AC_DEFINE([TUKLIB_CPUCORES_SCHED_GETAFFINITY], [1],
     151                        [Define to 1 if the number of available CPU cores
     152                        can be detected with sched_getaffinity()])
     153                ;;
    126154        cpuset)
    127155                AC_DEFINE([TUKLIB_CPUCORES_CPUSET], [1],
  • TabularUnified xz/vendor/current/m4/visibility.m4

    r1791 r1993  
    1 # visibility.m4 serial 3 (gettext-0.18)
    2 dnl Copyright (C) 2005, 2008-2010 Free Software Foundation, Inc.
     1# visibility.m4 serial 5 (gettext-0.18.2)
     2dnl Copyright (C) 2005, 2008, 2010-2014 Free Software Foundation, Inc.
    33dnl This file is free software; the Free Software Foundation
    44dnl gives unlimited permission to copy and/or distribute it,
     
    1313dnl Does *not* test for __visibility__("protected") - which has tricky
    1414dnl semantics (see the 'vismain' test in glibc) and does not exist e.g. on
    15 dnl MacOS X.
     15dnl Mac OS X.
    1616dnl Does *not* test for __visibility__("internal") - which has processor
    1717dnl dependent semantics.
     
    3434      gl_save_CFLAGS="$CFLAGS"
    3535      CFLAGS="$CFLAGS -Werror"
    36       AC_TRY_COMPILE([], [],
     36      AC_COMPILE_IFELSE(
     37        [AC_LANG_PROGRAM([[]], [[]])],
    3738        [gl_cv_cc_vis_werror=yes],
    3839        [gl_cv_cc_vis_werror=no])
     
    5253        CFLAGS="$CFLAGS -Werror"
    5354      fi
    54       AC_TRY_COMPILE(
    55         [extern __attribute__((__visibility__("hidden"))) int hiddenvar;
    56          extern __attribute__((__visibility__("default"))) int exportedvar;
    57          extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
    58          extern __attribute__((__visibility__("default"))) int exportedfunc (void);
    59          void dummyfunc (void) {}],
    60         [],
     55      AC_COMPILE_IFELSE(
     56        [AC_LANG_PROGRAM(
     57           [[extern __attribute__((__visibility__("hidden"))) int hiddenvar;
     58             extern __attribute__((__visibility__("default"))) int exportedvar;
     59             extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
     60             extern __attribute__((__visibility__("default"))) int exportedfunc (void);
     61             void dummyfunc (void) {}
     62           ]],
     63           [[]])],
    6164        [gl_cv_cc_visibility=yes],
    6265        [gl_cv_cc_visibility=no])
  • TabularUnified xz/vendor/current/po/Makefile.in.in

    r1791 r1993  
    99# General Public License and is *not* in the public domain.
    1010#
    11 # Origin: gettext-0.18
    12 GETTEXT_MACRO_VERSION = 0.18
     11# Origin: gettext-0.19
     12GETTEXT_MACRO_VERSION = 0.19
    1313
    1414PACKAGE = @PACKAGE@
     
    1616PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
    1717
     18SED = @SED@
    1819SHELL = /bin/sh
    1920@SET_MAKE@
     
    7778CATALOGS = @CATALOGS@
    7879
     80POFILESDEPS_ = $(srcdir)/$(DOMAIN).pot
     81POFILESDEPS_yes = $(POFILESDEPS_)
     82POFILESDEPS_no =
     83POFILESDEPS = $(POFILESDEPS_$(PO_DEPENDS_ON_POT))
     84
     85DISTFILESDEPS_ = update-po
     86DISTFILESDEPS_yes = $(DISTFILESDEPS_)
     87DISTFILESDEPS_no =
     88DISTFILESDEPS = $(DISTFILESDEPS_$(DIST_DEPENDS_ON_UPDATE_PO))
     89
    7990# Makevars gets inserted here. (Don't remove this line!)
    8091
     
    97108
    98109
    99 all: check-macro-version all-@USE_NLS@
     110all: all-@USE_NLS@
    100111
    101112all-yes: stamp-po
     
    103114
    104115# Ensure that the gettext macros and this Makefile.in.in are in sync.
    105 check-macro-version:
    106         @test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
     116CHECK_MACRO_VERSION = \
     117        test "$(GETTEXT_MACRO_VERSION)" = "@GETTEXT_MACRO_VERSION@" \
    107118          || { 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; \
    108119               exit 1; \
     
    124135# changed.
    125136stamp-po: $(srcdir)/$(DOMAIN).pot
     137        @$(CHECK_MACRO_VERSION)
    126138        test ! -f $(srcdir)/$(DOMAIN).pot || \
    127139          test -z "$(GMOFILES)" || $(MAKE) $(GMOFILES)
     
    138150# This target rebuilds $(DOMAIN).pot; it is an expensive operation.
    139151# Note that $(DOMAIN).pot is not touched if it doesn't need to be changed.
     152# The determination of whether the package xyz is a GNU one is based on the
     153# heuristic whether some file in the top level directory mentions "GNU xyz".
     154# If GNU 'find' is available, we avoid grepping through monster files.
    140155$(DOMAIN).pot-update: $(POTFILES) $(srcdir)/POTFILES.in remove-potcdate.sed
    141         if LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null | grep -v 'libtool:' >/dev/null; then \
    142           package_gnu='GNU '; \
    143         else \
    144           package_gnu=''; \
     156        package_gnu="$(PACKAGE_GNU)"; \
     157        test -n "$$package_gnu" || { \
     158          if { if (LC_ALL=C find --version) 2>/dev/null | grep GNU >/dev/null; then \
     159                 LC_ALL=C find -L $(top_srcdir) -maxdepth 1 -type f \
     160                               -size -10000000c -exec grep 'GNU @PACKAGE@' \
     161                               /dev/null '{}' ';' 2>/dev/null; \
     162               else \
     163                 LC_ALL=C grep 'GNU @PACKAGE@' $(top_srcdir)/* 2>/dev/null; \
     164               fi; \
     165             } | grep -v 'libtool:' >/dev/null; then \
     166             package_gnu=yes; \
     167           else \
     168             package_gnu=no; \
     169           fi; \
     170        }; \
     171        if test "$$package_gnu" = "yes"; then \
     172          package_prefix='GNU '; \
     173        else \
     174          package_prefix=''; \
    145175        fi; \
    146176        if test -n '$(MSGID_BUGS_ADDRESS)' || test '$(PACKAGE_BUGREPORT)' = '@'PACKAGE_BUGREPORT'@'; then \
     
    162192              --files-from=$(srcdir)/POTFILES.in \
    163193              --copyright-holder='$(COPYRIGHT_HOLDER)' \
    164               --package-name="$${package_gnu}@PACKAGE@" \
     194              --package-name="$${package_prefix}@PACKAGE@" \
    165195              --package-version='@VERSION@' \
    166196              --msgid-bugs-address="$$msgid_bugs_address" \
     
    190220# This target rebuilds a PO file if $(DOMAIN).pot has changed.
    191221# Note that a PO file is not touched if it doesn't need to be changed.
    192 $(POFILES): $(srcdir)/$(DOMAIN).pot
     222$(POFILES): $(POFILESDEPS)
    193223        @lang=`echo $@ | sed -e 's,.*/,,' -e 's/\.po$$//'`; \
    194224        if test -f "$(srcdir)/$${lang}.po"; then \
     225          test -f $(srcdir)/$(DOMAIN).pot || $(MAKE) $(srcdir)/$(DOMAIN).pot; \
    195226          test "$(srcdir)" = . && cdcmd="" || cdcmd="cd $(srcdir) && "; \
    196227          echo "$${cdcmd}$(MSGMERGE_UPDATE) $(MSGMERGE_OPTIONS) --lang=$${lang} $${lang}.po $(DOMAIN).pot"; \
     
    353384distdir = $(top_builddir)/$(PACKAGE)-$(VERSION)/$(subdir)
    354385dist distdir:
    355         $(MAKE) update-po
     386        test -z "$(DISTFILESDEPS)" || $(MAKE) $(DISTFILESDEPS)
    356387        @$(MAKE) dist2
    357388# This is a separate target because 'update-po' must be executed before.
  • TabularUnified xz/vendor/current/po/Rules-quot

    r1791 r1993  
     1# This file, Rules-quot, can be copied and used freely without restrictions.
    12# Special Makefile rules for English message catalogs with quotation marks.
    23
     
    1516.insert-header.po-update-en:
    1617        @lang=`echo $@ | sed -e 's/\.po-update-en$$//'`; \
    17         if test "$(PACKAGE)" = "gettext"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
     18        if test "$(PACKAGE)" = "gettext-tools"; then PATH=`pwd`/../src:$$PATH; GETTEXTLIBDIR=`cd $(top_srcdir)/src && pwd`; export GETTEXTLIBDIR; fi; \
    1819        tmpdir=`pwd`; \
    1920        echo "$$lang:"; \
     
    2122        LC_ALL=C; export LC_ALL; \
    2223        cd $(srcdir); \
    23         if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null | sed -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | $(MSGFILTER) sed -f `echo $$lang | sed -e 's/.*@//'`.sed 2>/dev/null > $$tmpdir/$$lang.new.po; then \
     24        if $(MSGINIT) -i $(DOMAIN).pot --no-translator -l $$lang -o - 2>/dev/null \
     25           | $(SED) -f $$tmpdir/$$lang.insert-header | $(MSGCONV) -t UTF-8 | \
     26           { case `$(MSGFILTER) --version | sed 1q | sed -e 's,^[^0-9]*,,'` in \
     27             '' | 0.[0-9] | 0.[0-9].* | 0.1[0-8] | 0.1[0-8].*) \
     28               $(MSGFILTER) $(SED) -f `echo $$lang | sed -e 's/.*@//'`.sed \
     29               ;; \
     30             *) \
     31               $(MSGFILTER) `echo $$lang | sed -e 's/.*@//'` \
     32               ;; \
     33             esac } 2>/dev/null > $$tmpdir/$$lang.new.po \
     34             ; then \
    2435          if cmp $$lang.po $$tmpdir/$$lang.new.po >/dev/null 2>&1; then \
    2536            rm -f $$tmpdir/$$lang.new.po; \
  • TabularUnified xz/vendor/current/po/cs.po

    r1791 r1993  
    77"Project-Id-Version: xz-utils\n"
    88"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
    9 "POT-Creation-Date: 2015-09-29 14:03+0300\n"
     9"POT-Creation-Date: 2016-12-30 13:27+0200\n"
    1010"PO-Revision-Date: 2010-12-03 11:32+0100\n"
    1111"Last-Translator: Marek ČernockÃœ <marek@manet.cz>\n"
     
    5252msgstr "Proměnná prostředí %s obsahuje příliš mnoho argumentů"
    5353
     54#: src/xz/args.c:643
     55msgid "Compression support was disabled at build time"
     56msgstr ""
     57
     58#: src/xz/args.c:650
     59msgid "Decompression support was disabled at build time"
     60msgstr ""
     61
    5462#: src/xz/coder.c:110
    5563msgid "Maximum number of filters is four"
     
    8492msgstr ""
    8593
    86 #: src/xz/coder.c:234
     94#: src/xz/coder.c:235
    8795#, c-format
    8896msgid "Using up to %<PRIu32> threads."
    8997msgstr ""
    9098
    91 #: src/xz/coder.c:247
     99#: src/xz/coder.c:251
    92100msgid "Unsupported filter chain or filter options"
    93101msgstr "NepodporovanÜ omezující filtr nebo volby filtru"
    94102
    95 #: src/xz/coder.c:255
     103#: src/xz/coder.c:263
    96104#, c-format
    97105msgid "Decompression will need %s MiB of memory."
    98106msgstr "Dekomprimace bude vyÅŸadovat %s MiB paměti."
    99107
    100 #: src/xz/coder.c:290
     108#: src/xz/coder.c:300
    101109#, fuzzy, c-format
    102110msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
    103111msgstr "Přizpůsobit velikost slovníku LZMA%c z %s MiB na %s MiB, tak aby nebylo překročeno omezení pouÅŸitelné paměti %s MiB"
    104112
    105 #: src/xz/coder.c:344
     113#: src/xz/coder.c:354
    106114#, c-format
    107115msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
    108116msgstr "Přizpůsobit velikost slovníku LZMA%c z %s MiB na %s MiB, tak aby nebylo překročeno omezení pouÅŸitelné paměti %s MiB"
    109117
    110 #: src/xz/file_io.c:87 src/xz/file_io.c:95
     118#: src/xz/file_io.c:110 src/xz/file_io.c:118
    111119#, fuzzy, c-format
    112120msgid "Error creating a pipe: %s"
    113121msgstr "%s: Chyba při čtení názvů souborů: %s"
    114122
    115 #: src/xz/file_io.c:172
     123#: src/xz/file_io.c:173
     124msgid "Sandbox is disabled due to incompatible command line arguments"
     125msgstr ""
     126
     127#: src/xz/file_io.c:216
     128msgid "Sandbox was successfully enabled"
     129msgstr ""
     130
     131#: src/xz/file_io.c:220
     132msgid "Failed to enable the sandbox"
     133msgstr ""
     134
     135#: src/xz/file_io.c:262
    116136#, fuzzy, c-format
    117137msgid "%s: poll() failed: %s"
     
    128148#. of the original file, and in that case it obviously
    129149#. shouldn't be removed.
    130 #: src/xz/file_io.c:242
     150#: src/xz/file_io.c:332
    131151#, c-format
    132152msgid "%s: File seems to have been moved, not removing"
    133153msgstr "%s: Vypadá to, ÅŸe soubor byl přesunut, proto nebude odstraněn"
    134154
    135 #: src/xz/file_io.c:249 src/xz/file_io.c:762
     155#: src/xz/file_io.c:339 src/xz/file_io.c:872
    136156#, c-format
    137157msgid "%s: Cannot remove: %s"
    138158msgstr "%s: Nelze odstranit: %s"
    139159
    140 #: src/xz/file_io.c:274
     160#: src/xz/file_io.c:364
    141161#, c-format
    142162msgid "%s: Cannot set the file owner: %s"
    143163msgstr "%s: Nelze nastavit vlastníka souboru: %s"
    144164
    145 #: src/xz/file_io.c:280
     165#: src/xz/file_io.c:370
    146166#, c-format
    147167msgid "%s: Cannot set the file group: %s"
    148168msgstr "%s: Nelze nastavit skupinu souboru: %s"
    149169
    150 #: src/xz/file_io.c:299
     170#: src/xz/file_io.c:389
    151171#, c-format
    152172msgid "%s: Cannot set the file permissions: %s"
    153173msgstr "%s: Nelze nastavit oprávnění souboru: %s"
    154174
    155 #: src/xz/file_io.c:409
     175#: src/xz/file_io.c:515
    156176#, fuzzy, c-format
    157177msgid "Error getting the file status flags from standard input: %s"
    158178msgstr "Chyba při obnovení příznaku O_APPEND na standardní vÃœstup: %s"
    159179
    160 #: src/xz/file_io.c:463 src/xz/file_io.c:525
     180#: src/xz/file_io.c:569 src/xz/file_io.c:631
    161181#, c-format
    162182msgid "%s: Is a symbolic link, skipping"
    163183msgstr "%s: Jedná se o symbolickÜ odkaz, vynechává se"
    164184
    165 #: src/xz/file_io.c:554
     185#: src/xz/file_io.c:660
    166186#, c-format
    167187msgid "%s: Is a directory, skipping"
    168188msgstr "%s: Jedná se o sloşku, vynechává se"
    169189
    170 #: src/xz/file_io.c:560
     190#: src/xz/file_io.c:666
    171191#, c-format
    172192msgid "%s: Not a regular file, skipping"
    173193msgstr "%s: Nejedná se o běşnÃœ soubor, vynechává se"
    174194
    175 #: src/xz/file_io.c:577
     195#: src/xz/file_io.c:683
    176196#, c-format
    177197msgid "%s: File has setuid or setgid bit set, skipping"
    178198msgstr "%s: Soubor má nastavenÜ bit setuid nebo setgid, vynechává se"
    179199
    180 #: src/xz/file_io.c:584
     200#: src/xz/file_io.c:690
    181201#, c-format
    182202msgid "%s: File has sticky bit set, skipping"
    183203msgstr "%s: Soubor má nastavenÜ bit sticky, vynechává se"
    184204
    185 #: src/xz/file_io.c:591
     205#: src/xz/file_io.c:697
    186206#, c-format
    187207msgid "%s: Input file has more than one hard link, skipping"
    188208msgstr "%s: Vstupní soubor má více neş jeden pevnÜ odkaz, vynechává se"
    189209
    190 #: src/xz/file_io.c:671
     210#: src/xz/file_io.c:782
    191211#, fuzzy, c-format
    192212msgid "Error restoring the status flags to standard input: %s"
    193213msgstr "Chyba při obnovení příznaku O_APPEND na standardní vÃœstup: %s"
    194214
    195 #: src/xz/file_io.c:720
     215#: src/xz/file_io.c:830
    196216#, fuzzy, c-format
    197217msgid "Error getting the file status flags from standard output: %s"
    198218msgstr "Chyba při obnovení příznaku O_APPEND na standardní vÃœstup: %s"
    199219
    200 #: src/xz/file_io.c:898
     220#: src/xz/file_io.c:1008
    201221#, c-format
    202222msgid "Error restoring the O_APPEND flag to standard output: %s"
    203223msgstr "Chyba při obnovení příznaku O_APPEND na standardní vÃœstup: %s"
    204224
    205 #: src/xz/file_io.c:910
     225#: src/xz/file_io.c:1020
    206226#, c-format
    207227msgid "%s: Closing the file failed: %s"
    208228msgstr "%s: Selhalo zavření souboru: %s"
    209229
    210 #: src/xz/file_io.c:946 src/xz/file_io.c:1172
     230#: src/xz/file_io.c:1056 src/xz/file_io.c:1282
    211231#, c-format
    212232msgid "%s: Seeking failed when trying to create a sparse file: %s"
    213233msgstr "%s: Selhalo nastavení pozice při pokusu o vytvoření souboru řídké matice: %s"
    214234
    215 #: src/xz/file_io.c:1041
     235#: src/xz/file_io.c:1151
    216236#, c-format
    217237msgid "%s: Read error: %s"
    218238msgstr "%s: Chyba čtení: %s"
    219239
    220 #: src/xz/file_io.c:1061
     240#: src/xz/file_io.c:1171
    221241#, c-format
    222242msgid "%s: Error seeking the file: %s"
    223243msgstr "%s: Chyba při posunu v rámci souboru: %s"
    224244
    225 #: src/xz/file_io.c:1071
     245#: src/xz/file_io.c:1181
    226246#, c-format
    227247msgid "%s: Unexpected end of file"
    228248msgstr "%s: NeočekávanÜ konec souboru"
    229249
    230 #: src/xz/file_io.c:1130
     250#: src/xz/file_io.c:1240
    231251#, c-format
    232252msgid "%s: Write error: %s"
     
    467487msgstr "Komprimace a dekomprimace s přepínačem --robot není zatím podporovaná."
    468488
    469 #: src/xz/main.c:231
     489#: src/xz/main.c:252
    470490msgid "Cannot read data from standard input when reading filenames from standard input"
    471491msgstr "Ze standardního vstupu nelze číst data, kdyş se ze standardního vstupu načítají názvy souborů"
  • TabularUnified xz/vendor/current/po/de.po

    r1791 r1993  
    77"Project-Id-Version: XZ Utils 4.999.9beta\n"
    88"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
    9 "POT-Creation-Date: 2015-09-29 14:03+0300\n"
     9"POT-Creation-Date: 2016-12-30 13:27+0200\n"
    1010"PO-Revision-Date: 2015-08-07 14:00+0200\n"
    1111"Last-Translator:  <sqrt@entless.org>\n"
     
    5050msgstr "Die Umgebungsvariable %s enthÀlt zu viele Argumente"
    5151
     52#: src/xz/args.c:643
     53msgid "Compression support was disabled at build time"
     54msgstr ""
     55
     56#: src/xz/args.c:650
     57msgid "Decompression support was disabled at build time"
     58msgstr ""
     59
    5260#: src/xz/coder.c:110
    5361msgid "Maximum number of filters is four"
     
    8290msgstr "Schalte um auf Single-Thread-Modus wegen --flush-timeout"
    8391
    84 #: src/xz/coder.c:234
     92#: src/xz/coder.c:235
    8593#, c-format
    8694msgid "Using up to %<PRIu32> threads."
    8795msgstr "Benutze bis zu %<PRIu32> Threads."
    8896
    89 #: src/xz/coder.c:247
     97#: src/xz/coder.c:251
    9098msgid "Unsupported filter chain or filter options"
    9199msgstr "Optionen nicht unterstÃŒtzt"
    92100
    93 #: src/xz/coder.c:255
     101#: src/xz/coder.c:263
    94102#, c-format
    95103msgid "Decompression will need %s MiB of memory."
    96104msgstr "Dekomprimierung wird %s MiB Speicher brauchen."
    97105
    98 #: src/xz/coder.c:290
     106#: src/xz/coder.c:300
    99107#, c-format
    100108msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
    101109msgstr "Passte die Anzahl Threads von %s auf %s an um nicht das Speichernutzungslimit von %s MiB zu ÃŒbersteigen"
    102110
    103 #: src/xz/coder.c:344
     111#: src/xz/coder.c:354
    104112#, c-format
    105113msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
    106114msgstr "Passte LZMA%c-Wörterbuchgröße von %s MiB to %s MiB an, um nicht das Speichernutzungslimit von %s MiB zu ÃŒbersteigen"
    107115
    108 #: src/xz/file_io.c:87 src/xz/file_io.c:95
     116#: src/xz/file_io.c:110 src/xz/file_io.c:118
    109117#, c-format
    110118msgid "Error creating a pipe: %s"
    111119msgstr "Fehler beim Erzeugen der Pipeline: %s"
    112120
    113 #: src/xz/file_io.c:172
     121#: src/xz/file_io.c:173
     122msgid "Sandbox is disabled due to incompatible command line arguments"
     123msgstr "Sandbox ist wegen inkompatibler Kommandozeilenargumente deaktiviert"
     124
     125#: src/xz/file_io.c:216
     126msgid "Sandbox was successfully enabled"
     127msgstr "Sandbox wurde erfolgreich aktiviert"
     128
     129#: src/xz/file_io.c:220
     130msgid "Failed to enable the sandbox"
     131msgstr "Konnte Sandbox nicht aktivieren"
     132
     133#: src/xz/file_io.c:262
    114134#, c-format
    115135msgid "%s: poll() failed: %s"
     
    126146#. of the original file, and in that case it obviously
    127147#. shouldn't be removed.
    128 #: src/xz/file_io.c:242
     148#: src/xz/file_io.c:332
    129149#, c-format
    130150msgid "%s: File seems to have been moved, not removing"
    131151msgstr "%s: Datei scheint umbenannt worden zu sein, daher wird sie nicht gelöscht"
    132152
    133 #: src/xz/file_io.c:249 src/xz/file_io.c:762
     153#: src/xz/file_io.c:339 src/xz/file_io.c:872
    134154#, c-format
    135155msgid "%s: Cannot remove: %s"
    136156msgstr "%s: Kann nicht löschen: %s"
    137157
    138 #: src/xz/file_io.c:274
     158#: src/xz/file_io.c:364
    139159#, c-format
    140160msgid "%s: Cannot set the file owner: %s"
    141161msgstr "%s: Kann DateieigentÃŒmer nicht setzen: %s"
    142162
    143 #: src/xz/file_io.c:280
     163#: src/xz/file_io.c:370
    144164#, c-format
    145165msgid "%s: Cannot set the file group: %s"
    146166msgstr "%s: Kann Dateigruppe nicht setzen: %s"
    147167
    148 #: src/xz/file_io.c:299
     168#: src/xz/file_io.c:389
    149169#, c-format
    150170msgid "%s: Cannot set the file permissions: %s"
    151171msgstr "%s: Kann Zugriffsrechte nicht setzen: %s"
    152172
    153 #: src/xz/file_io.c:409
     173#: src/xz/file_io.c:515
    154174#, c-format
    155175msgid "Error getting the file status flags from standard input: %s"
    156176msgstr "Kann Status-Flags der Standardeingabe nicht ermitteln: %s"
    157177
    158 #: src/xz/file_io.c:463 src/xz/file_io.c:525
     178#: src/xz/file_io.c:569 src/xz/file_io.c:631
    159179#, c-format
    160180msgid "%s: Is a symbolic link, skipping"
    161181msgstr "%s: Überspringe symbolischen Link"
    162182
    163 #: src/xz/file_io.c:554
     183#: src/xz/file_io.c:660
    164184#, c-format
    165185msgid "%s: Is a directory, skipping"
    166186msgstr "%s: Überspringe Verzeichnis"
    167187
    168 #: src/xz/file_io.c:560
     188#: src/xz/file_io.c:666
    169189#, c-format
    170190msgid "%s: Not a regular file, skipping"
    171191msgstr "%s: Keine regulÀre Datei, Ìberspringe"
    172192
    173 #: src/xz/file_io.c:577
     193#: src/xz/file_io.c:683
    174194#, c-format
    175195msgid "%s: File has setuid or setgid bit set, skipping"
    176196msgstr "%s: Datei hat das setuid- oder setgid-Bit gesetzt, ÃŒberspringe"
    177197
    178 #: src/xz/file_io.c:584
     198#: src/xz/file_io.c:690
    179199#, c-format
    180200msgid "%s: File has sticky bit set, skipping"
    181201msgstr "%s: Datei hat sticky-Bit gesetzt, ÃŒberspringe"
    182202
    183 #: src/xz/file_io.c:591
     203#: src/xz/file_io.c:697
    184204#, c-format
    185205msgid "%s: Input file has more than one hard link, skipping"
    186206msgstr "%s: Eingabedatei hat mehr als einen Hard Link, ÃŒberspringe"
    187207
    188 #: src/xz/file_io.c:671
     208#: src/xz/file_io.c:782
    189209#, c-format
    190210msgid "Error restoring the status flags to standard input: %s"
    191211msgstr "Fehler beim Wiederherstellen der Status-Flags fÃŒr die Standardausgabe: %s"
    192212
    193 #: src/xz/file_io.c:720
     213#: src/xz/file_io.c:830
    194214#, c-format
    195215msgid "Error getting the file status flags from standard output: %s"
    196216msgstr "Kann Status-Flags der Standardausgabe nicht ermitteln: %s"
    197217
    198 #: src/xz/file_io.c:898
     218#: src/xz/file_io.c:1008
    199219#, c-format
    200220msgid "Error restoring the O_APPEND flag to standard output: %s"
    201221msgstr "Fehler beim Wiederherstellen des O_APPEND-Flags bei Standardausgabe: %s"
    202222
    203 #: src/xz/file_io.c:910
     223#: src/xz/file_io.c:1020
    204224#, c-format
    205225msgid "%s: Closing the file failed: %s"
    206226msgstr "%s: Fehler beim Schließen der Datei: %s"
    207227
    208 #: src/xz/file_io.c:946 src/xz/file_io.c:1172
     228#: src/xz/file_io.c:1056 src/xz/file_io.c:1282
    209229#, c-format
    210230msgid "%s: Seeking failed when trying to create a sparse file: %s"
    211231msgstr "%s: Positionierungsfehler beim Versuch eine sparse (dÃŒnnbesetzte) Datei zu erzeugen: %s"
    212232
    213 #: src/xz/file_io.c:1041
     233#: src/xz/file_io.c:1151
    214234#, c-format
    215235msgid "%s: Read error: %s"
    216236msgstr "%s: Lesefehler: %s"
    217237
    218 #: src/xz/file_io.c:1061
     238#: src/xz/file_io.c:1171
    219239#, c-format
    220240msgid "%s: Error seeking the file: %s"
    221241msgstr "%s: Fehler beim Lesen der Dateinamen: %s"
    222242
    223 #: src/xz/file_io.c:1071
     243#: src/xz/file_io.c:1181
    224244#, c-format
    225245msgid "%s: Unexpected end of file"
    226246msgstr "%s: Unerwartetes Ende der Datei"
    227247
    228 #: src/xz/file_io.c:1130
     248#: src/xz/file_io.c:1240
    229249#, c-format
    230250msgid "%s: Write error: %s"
     
    464484msgstr "Komprimierung und Dekomprimierung mit --robot ist noch nicht unterstÃŒtzt."
    465485
    466 #: src/xz/main.c:231
     486#: src/xz/main.c:252
    467487msgid "Cannot read data from standard input when reading filenames from standard input"
    468488msgstr "Lesen der Standardeingabe ist nicht möglich, wenn die Dateinamen auch von der Standardeingabe gelesen werden"
     
    975995msgstr "Unbekannter Fehler"
    976996
    977 #~ msgid "Sandbox is disabled due to incompatible command line arguments"
    978 #~ msgstr "Sandbox ist wegen inkompatibler Kommandozeilenargumente deaktiviert"
    979 
    980 #~ msgid "Sandbox was successfully enabled"
    981 #~ msgstr "Sandbox wurde erfolgreich aktiviert"
    982 
    983 #~ msgid "Failed to enable the sandbox"
    984 #~ msgstr "Konnte Sandbox nicht aktivieren"
    985 
    986997#~ msgid "Error setting O_NONBLOCK on standard input: %s"
    987998#~ msgstr "Fehler beim Setzen des O_NONBLOCK-Flags fÃŒr Standardausgabe: %s"
  • TabularUnified xz/vendor/current/po/fr.po

    r1791 r1993  
    77"Project-Id-Version: xz-utils\n"
    88"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
    9 "POT-Creation-Date: 2015-09-29 14:03+0300\n"
     9"POT-Creation-Date: 2016-12-30 13:27+0200\n"
    1010"PO-Revision-Date: 2010-09-24 21;12+0200\n"
    1111"Last-Translator: Adrien Nader <adrien@notk.org>\n"
     
    5050msgstr "La variable d'environnement %s contient trop d'arguments"
    5151
     52#: src/xz/args.c:643
     53msgid "Compression support was disabled at build time"
     54msgstr ""
     55
     56#: src/xz/args.c:650
     57msgid "Decompression support was disabled at build time"
     58msgstr ""
     59
    5260#: src/xz/coder.c:110
    5361msgid "Maximum number of filters is four"
     
    8290msgstr ""
    8391
    84 #: src/xz/coder.c:234
     92#: src/xz/coder.c:235
    8593#, c-format
    8694msgid "Using up to %<PRIu32> threads."
    8795msgstr "Jusqu'à %<PRIu32> threads seront utilisés."
    8896
    89 #: src/xz/coder.c:247
     97#: src/xz/coder.c:251
    9098msgid "Unsupported filter chain or filter options"
    9199msgstr "Enchaînement ou options de filtres non pris en charge"
    92100
    93 #: src/xz/coder.c:255
     101#: src/xz/coder.c:263
    94102#, c-format
    95103msgid "Decompression will need %s MiB of memory."
    96104msgstr "La décompression nécessitera %s MiB de mémoire."
    97105
    98 #: src/xz/coder.c:290
     106#: src/xz/coder.c:300
    99107#, c-format
    100108msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
    101109msgstr "Nombre de threads réduit de %s à %s pour ne pas dépasser la limite d'utilisation mémoire de %s MiB"
    102110
    103 #: src/xz/coder.c:344
     111#: src/xz/coder.c:354
    104112#, c-format
    105113msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
    106114msgstr "Taille du dictionnaire LZMA%c réduite de %s MiB à %s MiB pour ne pas dépasser la limite d'utilisation mémoire de %s MiB"
    107115
    108 #: src/xz/file_io.c:87 src/xz/file_io.c:95
     116#: src/xz/file_io.c:110 src/xz/file_io.c:118
    109117#, c-format
    110118msgid "Error creating a pipe: %s"
    111119msgstr "Impossible de créer un tube anonyme (pipe) : %s"
    112120
    113 #: src/xz/file_io.c:172
     121#: src/xz/file_io.c:173
     122msgid "Sandbox is disabled due to incompatible command line arguments"
     123msgstr ""
     124
     125#: src/xz/file_io.c:216
     126msgid "Sandbox was successfully enabled"
     127msgstr ""
     128
     129#: src/xz/file_io.c:220
     130msgid "Failed to enable the sandbox"
     131msgstr ""
     132
     133#: src/xz/file_io.c:262
    114134#, c-format
    115135msgid "%s: poll() failed: %s"
     
    126146#. of the original file, and in that case it obviously
    127147#. shouldn't be removed.
    128 #: src/xz/file_io.c:242
     148#: src/xz/file_io.c:332
    129149#, c-format
    130150msgid "%s: File seems to have been moved, not removing"
    131151msgstr "%s : Le fichier a apparemment été déplacé, suppression annulée"
    132152
    133 #: src/xz/file_io.c:249 src/xz/file_io.c:762
     153#: src/xz/file_io.c:339 src/xz/file_io.c:872
    134154#, c-format
    135155msgid "%s: Cannot remove: %s"
    136156msgstr "%s : Impossible de supprimer : %s"
    137157
    138 #: src/xz/file_io.c:274
     158#: src/xz/file_io.c:364
    139159#, c-format
    140160msgid "%s: Cannot set the file owner: %s"
    141161msgstr "%s : Impossible de modifier le propriétaire du fichier : %s"
    142162
    143 #: src/xz/file_io.c:280
     163#: src/xz/file_io.c:370
    144164#, c-format
    145165msgid "%s: Cannot set the file group: %s"
    146166msgstr "%s : Impossible de modifier le groupe propriétaire du fichier : %s"
    147167
    148 #: src/xz/file_io.c:299
     168#: src/xz/file_io.c:389
    149169#, c-format
    150170msgid "%s: Cannot set the file permissions: %s"
     
    159179# a million times, if we dilute the error message in 20 languages, it will be
    160180# almost impossible to find an explanation and support for the error.
    161 #: src/xz/file_io.c:409
     181#: src/xz/file_io.c:515
    162182#, c-format
    163183msgid "Error getting the file status flags from standard input: %s"
    164184msgstr ""
    165185
    166 #: src/xz/file_io.c:463 src/xz/file_io.c:525
     186#: src/xz/file_io.c:569 src/xz/file_io.c:631
    167187#, c-format
    168188msgid "%s: Is a symbolic link, skipping"
    169189msgstr "%s est un lien symbolique : ignoré"
    170190
    171 #: src/xz/file_io.c:554
     191#: src/xz/file_io.c:660
    172192#, c-format
    173193msgid "%s: Is a directory, skipping"
    174194msgstr "%s est un répertoire : ignoré"
    175195
    176 #: src/xz/file_io.c:560
     196#: src/xz/file_io.c:666
    177197#, c-format
    178198msgid "%s: Not a regular file, skipping"
    179199msgstr "%s n'est pas un fichier régulier : ignoré"
    180200
    181 #: src/xz/file_io.c:577
     201#: src/xz/file_io.c:683
    182202#, c-format
    183203msgid "%s: File has setuid or setgid bit set, skipping"
    184204msgstr "%s : Le fichier possÚde les bits `setuid' ou `setgid' : ignoré"
    185205
    186 #: src/xz/file_io.c:584
     206#: src/xz/file_io.c:690
    187207#, c-format
    188208msgid "%s: File has sticky bit set, skipping"
    189209msgstr "%s : Le fichier possÚde le bit `sticky' : ignoré"
    190210
    191 #: src/xz/file_io.c:591
     211#: src/xz/file_io.c:697
    192212#, c-format
    193213msgid "%s: Input file has more than one hard link, skipping"
     
    195215
    196216# See note from translator above titled "file status flags".
    197 #: src/xz/file_io.c:671
     217#: src/xz/file_io.c:782
    198218#, c-format
    199219msgid "Error restoring the status flags to standard input: %s"
     
    201221
    202222# See note from translator above titled "file status flags".
    203 #: src/xz/file_io.c:720
     223#: src/xz/file_io.c:830
    204224#, c-format
    205225msgid "Error getting the file status flags from standard output: %s"
    206226msgstr ""
    207227
    208 #: src/xz/file_io.c:898
     228#: src/xz/file_io.c:1008
    209229#, c-format
    210230msgid "Error restoring the O_APPEND flag to standard output: %s"
    211231msgstr "Impossible de rétablir le drapeau O_APPEND sur la sortie standard : %s"
    212232
    213 #: src/xz/file_io.c:910
     233#: src/xz/file_io.c:1020
    214234#, c-format
    215235msgid "%s: Closing the file failed: %s"
    216236msgstr "%s : Impossible de fermer le fichier : %s"
    217237
    218 #: src/xz/file_io.c:946 src/xz/file_io.c:1172
     238#: src/xz/file_io.c:1056 src/xz/file_io.c:1282
    219239#, c-format
    220240msgid "%s: Seeking failed when trying to create a sparse file: %s"
    221241msgstr "%s : Impossible de se déplacer dans le fichier pour créer un 'sparse file' : %s"
    222242
    223 #: src/xz/file_io.c:1041
     243#: src/xz/file_io.c:1151
    224244#, c-format
    225245msgid "%s: Read error: %s"
    226246msgstr "%s : Erreur d'écriture : %s"
    227247
    228 #: src/xz/file_io.c:1061
     248#: src/xz/file_io.c:1171
    229249#, c-format
    230250msgid "%s: Error seeking the file: %s"
    231251msgstr "%s : Impossible de se déplacer dans le fichier : %s"
    232252
    233 #: src/xz/file_io.c:1071
     253#: src/xz/file_io.c:1181
    234254#, c-format
    235255msgid "%s: Unexpected end of file"
    236256msgstr "%s : Fin de fichier inattendue"
    237257
    238 #: src/xz/file_io.c:1130
     258#: src/xz/file_io.c:1240
    239259#, c-format
    240260msgid "%s: Write error: %s"
     
    474494msgstr "La compression et la décompression ne marchent pas encore avec --robot."
    475495
    476 #: src/xz/main.c:231
     496#: src/xz/main.c:252
    477497msgid "Cannot read data from standard input when reading filenames from standard input"
    478498msgstr "Impossible de lire à la fois les données et les noms de fichiers depuis l'entrée standard"
  • TabularUnified xz/vendor/current/po/it.po

    r1791 r1993  
    99"Project-Id-Version: xz-utils\n"
    1010"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
    11 "POT-Creation-Date: 2015-09-29 14:03+0300\n"
     11"POT-Creation-Date: 2016-12-30 13:27+0200\n"
    1212"PO-Revision-Date: 2014-10-20 13:16+0100\n"
    1313"Last-Translator: Milo Casagrande <milo@milo.name>\n"
     
    5454msgstr "La variabile d'ambiente %s contiene troppi argomenti"
    5555
     56#: src/xz/args.c:643
     57msgid "Compression support was disabled at build time"
     58msgstr ""
     59
     60#: src/xz/args.c:650
     61msgid "Decompression support was disabled at build time"
     62msgstr ""
     63
    5664#: src/xz/coder.c:110
    5765msgid "Maximum number of filters is four"
     
    8694msgstr "Passaggio a modalità singolo thread poiché viene usato --flush-timeout"
    8795
    88 #: src/xz/coder.c:234
     96#: src/xz/coder.c:235
    8997#, c-format
    9098msgid "Using up to %<PRIu32> threads."
    9199msgstr "Vengono usati circa %<PRIu32> thread."
    92100
    93 #: src/xz/coder.c:247
     101#: src/xz/coder.c:251
    94102msgid "Unsupported filter chain or filter options"
    95103msgstr "Catena di filtri od opzioni del filtro non supportata"
    96104
    97 #: src/xz/coder.c:255
     105#: src/xz/coder.c:263
    98106#, c-format
    99107msgid "Decompression will need %s MiB of memory."
    100108msgstr "L'estrazione necessita di %s MiB di memoria."
    101109
    102 #: src/xz/coder.c:290
     110#: src/xz/coder.c:300
    103111#, c-format
    104112msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
    105113msgstr "Regolato il numero di thread da %s a %s per non eccedere il limite di utilizzo della memoria di %s MiB"
    106114
    107 #: src/xz/coder.c:344
     115#: src/xz/coder.c:354
    108116#, c-format
    109117msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
    110118msgstr "Regolata la dimensione del dizionario LZMA%c da %s MiB a %s MiB per non superare il limite dell'uso della memoria di %s MiB"
    111119
    112 #: src/xz/file_io.c:87 src/xz/file_io.c:95
     120#: src/xz/file_io.c:110 src/xz/file_io.c:118
    113121#, c-format
    114122msgid "Error creating a pipe: %s"
    115123msgstr "Errore nel creare una pipe: %s"
    116124
    117 #: src/xz/file_io.c:172
     125#: src/xz/file_io.c:173
     126msgid "Sandbox is disabled due to incompatible command line arguments"
     127msgstr ""
     128
     129#: src/xz/file_io.c:216
     130msgid "Sandbox was successfully enabled"
     131msgstr ""
     132
     133#: src/xz/file_io.c:220
     134msgid "Failed to enable the sandbox"
     135msgstr ""
     136
     137#: src/xz/file_io.c:262
    118138#, c-format
    119139msgid "%s: poll() failed: %s"
     
    130150#. of the original file, and in that case it obviously
    131151#. shouldn't be removed.
    132 #: src/xz/file_io.c:242
     152#: src/xz/file_io.c:332
    133153#, c-format
    134154msgid "%s: File seems to have been moved, not removing"
    135155msgstr "%s: sembra che il file sia stato spostato, non viene rimosso"
    136156
    137 #: src/xz/file_io.c:249 src/xz/file_io.c:762
     157#: src/xz/file_io.c:339 src/xz/file_io.c:872
    138158#, c-format
    139159msgid "%s: Cannot remove: %s"
    140160msgstr "%s: impossibile rimuovere: %s"
    141161
    142 #: src/xz/file_io.c:274
     162#: src/xz/file_io.c:364
    143163#, c-format
    144164msgid "%s: Cannot set the file owner: %s"
    145165msgstr "%s: impossibile impostare il proprietario del file: %s"
    146166
    147 #: src/xz/file_io.c:280
     167#: src/xz/file_io.c:370
    148168#, c-format
    149169msgid "%s: Cannot set the file group: %s"
    150170msgstr "%s: impossibile impostare il gruppo del file: %s"
    151171
    152 #: src/xz/file_io.c:299
     172#: src/xz/file_io.c:389
    153173#, c-format
    154174msgid "%s: Cannot set the file permissions: %s"
    155175msgstr "%s: impossibile impostare i permessi del file: %s"
    156176
    157 #: src/xz/file_io.c:409
     177#: src/xz/file_io.c:515
    158178#, c-format
    159179msgid "Error getting the file status flags from standard input: %s"
    160180msgstr "Errore nel recuperare le flag di stato del file dallo standard input: %s"
    161181
    162 #: src/xz/file_io.c:463 src/xz/file_io.c:525
     182#: src/xz/file_io.c:569 src/xz/file_io.c:631
    163183#, c-format
    164184msgid "%s: Is a symbolic link, skipping"
    165185msgstr "%s: Ú un collegamento simbolico, viene saltato"
    166186
    167 #: src/xz/file_io.c:554
     187#: src/xz/file_io.c:660
    168188#, c-format
    169189msgid "%s: Is a directory, skipping"
    170190msgstr "%s: Ú una directory, viene saltata"
    171191
    172 #: src/xz/file_io.c:560
     192#: src/xz/file_io.c:666
    173193#, c-format
    174194msgid "%s: Not a regular file, skipping"
    175195msgstr "%s: non Ú un file regolare, viene saltato"
    176196
    177 #: src/xz/file_io.c:577
     197#: src/xz/file_io.c:683
    178198#, c-format
    179199msgid "%s: File has setuid or setgid bit set, skipping"
    180200msgstr "%s: il file ha il bit setuid o setgid impostato, viene saltato"
    181201
    182 #: src/xz/file_io.c:584
     202#: src/xz/file_io.c:690
    183203#, c-format
    184204msgid "%s: File has sticky bit set, skipping"
    185205msgstr "%s: il file ha lo sticky bit impostato, viene saltato"
    186206
    187 #: src/xz/file_io.c:591
     207#: src/xz/file_io.c:697
    188208#, c-format
    189209msgid "%s: Input file has more than one hard link, skipping"
    190210msgstr "%s: il file di input ha più di un collegamento fisico, viene saltato"
    191211
    192 #: src/xz/file_io.c:671
     212#: src/xz/file_io.c:782
    193213#, c-format
    194214msgid "Error restoring the status flags to standard input: %s"
    195215msgstr "Errore nel ripristinare le flag di stato sullo standard input: %s"
    196216
    197 #: src/xz/file_io.c:720
     217#: src/xz/file_io.c:830
    198218#, c-format
    199219msgid "Error getting the file status flags from standard output: %s"
    200220msgstr "Errore nel recuperare le flag di stato del file dallo standard output: %s"
    201221
    202 #: src/xz/file_io.c:898
     222#: src/xz/file_io.c:1008
    203223#, c-format
    204224msgid "Error restoring the O_APPEND flag to standard output: %s"
    205225msgstr "Errore nel ripristinare la flag O_APPEND sullo standard output: %s"
    206226
    207 #: src/xz/file_io.c:910
     227#: src/xz/file_io.c:1020
    208228#, c-format
    209229msgid "%s: Closing the file failed: %s"
    210230msgstr "%s: chiusura del file non riuscita: %s"
    211231
    212 #: src/xz/file_io.c:946 src/xz/file_io.c:1172
     232#: src/xz/file_io.c:1056 src/xz/file_io.c:1282
    213233#, c-format
    214234msgid "%s: Seeking failed when trying to create a sparse file: %s"
    215235msgstr "%s: posizionamento non riuscito nel tentativo di creare un file sparso: %s"
    216236
    217 #: src/xz/file_io.c:1041
     237#: src/xz/file_io.c:1151
    218238#, c-format
    219239msgid "%s: Read error: %s"
    220240msgstr "%s: errore di lettura: %s"
    221241
    222 #: src/xz/file_io.c:1061
     242#: src/xz/file_io.c:1171
    223243#, c-format
    224244msgid "%s: Error seeking the file: %s"
    225245msgstr "%s: errore nel cercare il file: %s"
    226246
    227 #: src/xz/file_io.c:1071
     247#: src/xz/file_io.c:1181
    228248#, c-format
    229249msgid "%s: Unexpected end of file"
    230250msgstr "%s: fine del file inaspettata"
    231251
    232 #: src/xz/file_io.c:1130
     252#: src/xz/file_io.c:1240
    233253#, c-format
    234254msgid "%s: Write error: %s"
     
    468488msgstr "La compressione e l'estrazione con --robot non sono ancora supportate."
    469489
    470 #: src/xz/main.c:231
     490#: src/xz/main.c:252
    471491msgid "Cannot read data from standard input when reading filenames from standard input"
    472492msgstr "Impossibile leggere i dati dallo standard input durante la lettura dei nomi dei file dallo standard input"
  • TabularUnified xz/vendor/current/po/pl.po

    r1791 r1993  
    77"Project-Id-Version: xz 5.1.4\n"
    88"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
    9 "POT-Creation-Date: 2015-09-29 14:03+0300\n"
     9"POT-Creation-Date: 2016-12-30 13:27+0200\n"
    1010"PO-Revision-Date: 2014-10-15 20:53+0200\n"
    1111"Last-Translator: Jakub Bogusz <qboosh@pld-linux.org>\n"
     
    5252msgstr "Zmienna środowiskowa %s zawiera zbyt duÅŒo argumentów"
    5353
     54#: src/xz/args.c:643
     55msgid "Compression support was disabled at build time"
     56msgstr ""
     57
     58#: src/xz/args.c:650
     59msgid "Decompression support was disabled at build time"
     60msgstr ""
     61
    5462#: src/xz/coder.c:110
    5563msgid "Maximum number of filters is four"
     
    8795tkowy z powodu --flush-timeout"
    8896
    89 #: src/xz/coder.c:234
     97#: src/xz/coder.c:235
    9098#, c-format
    9199msgid "Using up to %<PRIu32> threads."
     
    93101tków: %<PRIu32>."
    94102
    95 #: src/xz/coder.c:247
     103#: src/xz/coder.c:251
    96104msgid "Unsupported filter chain or filter options"
    97105msgstr "Nieobsługiwany łańcuch filtrów lub opcje filtra"
    98106
    99 #: src/xz/coder.c:255
     107#: src/xz/coder.c:263
    100108#, c-format
    101109msgid "Decompression will need %s MiB of memory."
    102110msgstr "Dekompresja będzie wymagała %s MiB pamięci."
    103111
    104 #: src/xz/coder.c:290
     112#: src/xz/coder.c:300
    105113#, c-format
    106114msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
     
    108116tków z %s do %s, aby nie przekroczyć limitu uÅŒycia pamięci %s MiB"
    109117
    110 #: src/xz/coder.c:344
     118#: src/xz/coder.c:354
    111119#, c-format
    112120msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
    113121msgstr "Skorygowano rozmiar słownika LZMA%c z %s MiB do %s MiB aby nie przekroczyć limitu uÅŒycia pamięci %s MiB"
    114122
    115 #: src/xz/file_io.c:87 src/xz/file_io.c:95
     123#: src/xz/file_io.c:110 src/xz/file_io.c:118
    116124#, c-format
    117125msgid "Error creating a pipe: %s"
     
    119127d tworzenia potoku: %s"
    120128
    121 #: src/xz/file_io.c:172
     129#: src/xz/file_io.c:173
     130msgid "Sandbox is disabled due to incompatible command line arguments"
     131msgstr ""
     132
     133#: src/xz/file_io.c:216
     134msgid "Sandbox was successfully enabled"
     135msgstr ""
     136
     137#: src/xz/file_io.c:220
     138msgid "Failed to enable the sandbox"
     139msgstr ""
     140
     141#: src/xz/file_io.c:262
    122142#, c-format
    123143msgid "%s: poll() failed: %s"
     
    134154#. of the original file, and in that case it obviously
    135155#. shouldn't be removed.
    136 #: src/xz/file_io.c:242
     156#: src/xz/file_io.c:332
    137157#, c-format
    138158msgid "%s: File seems to have been moved, not removing"
     
    140160da na przeniesiony, nie zostanie usunięty"
    141161
    142 #: src/xz/file_io.c:249 src/xz/file_io.c:762
     162#: src/xz/file_io.c:339 src/xz/file_io.c:872
    143163#, c-format
    144164msgid "%s: Cannot remove: %s"
     
    146166ć: %s"
    147167
    148 #: src/xz/file_io.c:274
     168#: src/xz/file_io.c:364
    149169#, c-format
    150170msgid "%s: Cannot set the file owner: %s"
    151171msgstr "%s: Nie moÅŒna ustawić właściciela pliku: %s"
    152172
    153 #: src/xz/file_io.c:280
     173#: src/xz/file_io.c:370
    154174#, c-format
    155175msgid "%s: Cannot set the file group: %s"
    156176msgstr "%s: Nie moÅŒna ustawić grupy pliku: %s"
    157177
    158 #: src/xz/file_io.c:299
     178#: src/xz/file_io.c:389
    159179#, c-format
    160180msgid "%s: Cannot set the file permissions: %s"
    161181msgstr "%s: Nie moÅŒna ustawić uprawnień pliku: %s"
    162182
    163 #: src/xz/file_io.c:409
     183#: src/xz/file_io.c:515
    164184#, c-format
    165185msgid "Error getting the file status flags from standard input: %s"
     
    167187d podczas pobierania flag stanu pliku ze standardowego wejścia: %s"
    168188
    169 #: src/xz/file_io.c:463 src/xz/file_io.c:525
     189#: src/xz/file_io.c:569 src/xz/file_io.c:631
    170190#, c-format
    171191msgid "%s: Is a symbolic link, skipping"
     
    173193zaniem symbolicznym, pominięto"
    174194
    175 #: src/xz/file_io.c:554
     195#: src/xz/file_io.c:660
    176196#, c-format
    177197msgid "%s: Is a directory, skipping"
    178198msgstr "%s: Jest katalogiem, pominięto"
    179199
    180 #: src/xz/file_io.c:560
     200#: src/xz/file_io.c:666
    181201#, c-format
    182202msgid "%s: Not a regular file, skipping"
    183203msgstr "%s: Nie jest zwykłym plikiem, pominięto"
    184204
    185 #: src/xz/file_io.c:577
     205#: src/xz/file_io.c:683
    186206#, c-format
    187207msgid "%s: File has setuid or setgid bit set, skipping"
    188208msgstr "%s: Plik ma ustawiony bit setuid lub setgid, pominięto"
    189209
    190 #: src/xz/file_io.c:584
     210#: src/xz/file_io.c:690
    191211#, c-format
    192212msgid "%s: File has sticky bit set, skipping"
    193213msgstr "%s: Plik ma ustawiony bit sticky, pominięto"
    194214
    195 #: src/xz/file_io.c:591
     215#: src/xz/file_io.c:697
    196216#, c-format
    197217msgid "%s: Input file has more than one hard link, skipping"
     
    199219zanie zwykłe, pominięto"
    200220
    201 #: src/xz/file_io.c:671
     221#: src/xz/file_io.c:782
    202222#, c-format
    203223msgid "Error restoring the status flags to standard input: %s"
     
    205225d podczas odtwarzania flag stanu dla standardowego wejścia: %s"
    206226
    207 #: src/xz/file_io.c:720
     227#: src/xz/file_io.c:830
    208228#, c-format
    209229msgid "Error getting the file status flags from standard output: %s"
     
    211231d podczas pobierania flag stanu pliku ze standardowego wyjścia: %s"
    212232
    213 #: src/xz/file_io.c:898
     233#: src/xz/file_io.c:1008
    214234#, c-format
    215235msgid "Error restoring the O_APPEND flag to standard output: %s"
     
    217237d podczas odtwarzania flagi O_APPEND dla standardowego wyjścia: %s"
    218238
    219 #: src/xz/file_io.c:910
     239#: src/xz/file_io.c:1020
    220240#, c-format
    221241msgid "%s: Closing the file failed: %s"
    222242msgstr "%s: Zamknięcie pliku nie powiodło się: %s"
    223243
    224 #: src/xz/file_io.c:946 src/xz/file_io.c:1172
     244#: src/xz/file_io.c:1056 src/xz/file_io.c:1282
    225245#, c-format
    226246msgid "%s: Seeking failed when trying to create a sparse file: %s"
    227247msgstr "%s: Zmiana pozycji nie powiodła się podczas próby utworzenia pliku rzadkiego: %s"
    228248
    229 #: src/xz/file_io.c:1041
     249#: src/xz/file_io.c:1151
    230250#, c-format
    231251msgid "%s: Read error: %s"
     
    233253d odczytu: %s"
    234254
    235 #: src/xz/file_io.c:1061
     255#: src/xz/file_io.c:1171
    236256#, c-format
    237257msgid "%s: Error seeking the file: %s"
     
    239259d podczas zmiany pozycji w pliku: %s"
    240260
    241 #: src/xz/file_io.c:1071
     261#: src/xz/file_io.c:1181
    242262#, c-format
    243263msgid "%s: Unexpected end of file"
    244264msgstr "%s: Nieoczekiwany koniec pliku"
    245265
    246 #: src/xz/file_io.c:1130
     266#: src/xz/file_io.c:1240
    247267#, c-format
    248268msgid "%s: Write error: %s"
     
    487507 --robot nie jest jeszcze obsługiwana."
    488508
    489 #: src/xz/main.c:231
     509#: src/xz/main.c:252
    490510msgid "Cannot read data from standard input when reading filenames from standard input"
    491511msgstr "Nie moÅŒna odczytać danych ze standardowego wejścia przy czytaniu nazw plików ze standardowego wejścia"
  • TabularUnified xz/vendor/current/po/vi.po

    r1791 r1993  
    88"Project-Id-Version: xz 5.1.4beta\n"
    99"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
    10 "POT-Creation-Date: 2015-09-29 14:03+0300\n"
     10"POT-Creation-Date: 2016-12-30 13:27+0200\n"
    1111"PO-Revision-Date: 2014-09-25 09:06+0700\n"
    1212"Last-Translator: Trần Ngọc Quân <vnwildman@gmail.com>\n"
     
    5252msgstr "Biến mÃŽi trường %s chứa quá nhiều đối số"
    5353
     54#: src/xz/args.c:643
     55msgid "Compression support was disabled at build time"
     56msgstr ""
     57
     58#: src/xz/args.c:650
     59msgid "Decompression support was disabled at build time"
     60msgstr ""
     61
    5462#: src/xz/coder.c:110
    5563msgid "Maximum number of filters is four"
     
    8492msgstr "Chuyển sang chế độ đơn tuyến trình bởi vì --flush-timeout"
    8593
    86 #: src/xz/coder.c:234
     94#: src/xz/coder.c:235
    8795#, c-format
    8896msgid "Using up to %<PRIu32> threads."
    8997msgstr "Dùng đến %<PRIu32> tuyến trình."
    9098
    91 #: src/xz/coder.c:247
     99#: src/xz/coder.c:251
    92100msgid "Unsupported filter chain or filter options"
    93101msgstr "KhÃŽng hỗ trợ lọc móc xích hay tùy chọn lọc"
    94102
    95 #: src/xz/coder.c:255
     103#: src/xz/coder.c:263
    96104#, c-format
    97105msgid "Decompression will need %s MiB of memory."
    98106msgstr "Giải nén sẜ cần %s MiB bộ nhớ."
    99107
    100 #: src/xz/coder.c:290
     108#: src/xz/coder.c:300
    101109#, c-format
    102110msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
    103111msgstr "Chỉnh số lượng tuyến trình từ %s thành %s để khÃŽng vượt quá giới hạn tiêu dùng bộ nhớ là %s MiB"
    104112
    105 #: src/xz/coder.c:344
     113#: src/xz/coder.c:354
    106114#, c-format
    107115msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
    108116msgstr "Chỉnh cỡ từ điển LZMA%c từ %s MiB thành %s MiB để khÃŽng vượt quá giới hạn tiêu dùng bộ nhớ là %s MiB"
    109117
    110 #: src/xz/file_io.c:87 src/xz/file_io.c:95
     118#: src/xz/file_io.c:110 src/xz/file_io.c:118
    111119#, c-format
    112120msgid "Error creating a pipe: %s"
    113121msgstr "Gặp lỗi khi tạo một ống dẫn: %s"
    114122
    115 #: src/xz/file_io.c:172
     123#: src/xz/file_io.c:173
     124msgid "Sandbox is disabled due to incompatible command line arguments"
     125msgstr ""
     126
     127#: src/xz/file_io.c:216
     128msgid "Sandbox was successfully enabled"
     129msgstr ""
     130
     131#: src/xz/file_io.c:220
     132msgid "Failed to enable the sandbox"
     133msgstr ""
     134
     135#: src/xz/file_io.c:262
    116136#, c-format
    117137msgid "%s: poll() failed: %s"
     
    128148#. of the original file, and in that case it obviously
    129149#. shouldn't be removed.
    130 #: src/xz/file_io.c:242
     150#: src/xz/file_io.c:332
    131151#, c-format
    132152msgid "%s: File seems to have been moved, not removing"
    133153msgstr "%s: Tập tin có lẜ đã bị di chuyển, khÃŽng phải gỡ bỏ"
    134154
    135 #: src/xz/file_io.c:249 src/xz/file_io.c:762
     155#: src/xz/file_io.c:339 src/xz/file_io.c:872
    136156#, c-format
    137157msgid "%s: Cannot remove: %s"
    138158msgstr "%s: KhÃŽng thể gỡ bỏ: %s"
    139159
    140 #: src/xz/file_io.c:274
     160#: src/xz/file_io.c:364
    141161#, c-format
    142162msgid "%s: Cannot set the file owner: %s"
    143163msgstr "%s: KhÃŽng thể đặt chủ sở hữu tập tin: %s"
    144164
    145 #: src/xz/file_io.c:280
     165#: src/xz/file_io.c:370
    146166#, c-format
    147167msgid "%s: Cannot set the file group: %s"
    148168msgstr "%s: KhÃŽng thể đặt nhóm tập tin: %s"
    149169
    150 #: src/xz/file_io.c:299
     170#: src/xz/file_io.c:389
    151171#, c-format
    152172msgid "%s: Cannot set the file permissions: %s"
    153173msgstr "%s: KhÃŽng thể đặt chế độ đọc ghi cho tập tin: %s"
    154174
    155 #: src/xz/file_io.c:409
     175#: src/xz/file_io.c:515
    156176#, c-format
    157177msgid "Error getting the file status flags from standard input: %s"
    158178msgstr "Gặp lỗi khi lấy các cờ trạng thái tập tin từ đầu vào tiêu chuẩn: %s"
    159179
    160 #: src/xz/file_io.c:463 src/xz/file_io.c:525
     180#: src/xz/file_io.c:569 src/xz/file_io.c:631
    161181#, c-format
    162182msgid "%s: Is a symbolic link, skipping"
    163183msgstr "%s: Là một liên kết mềm nên bỏ qua"
    164184
    165 #: src/xz/file_io.c:554
     185#: src/xz/file_io.c:660
    166186#, c-format
    167187msgid "%s: Is a directory, skipping"
    168188msgstr "%s: KhÃŽng phải là một thÆ° mục nên bỏ qua"
    169189
    170 #: src/xz/file_io.c:560
     190#: src/xz/file_io.c:666
    171191#, c-format
    172192msgid "%s: Not a regular file, skipping"
    173193msgstr "%s: KhÎng phải là tập tin thường nên bỏ qua"
    174194
    175 #: src/xz/file_io.c:577
     195#: src/xz/file_io.c:683
    176196#, c-format
    177197msgid "%s: File has setuid or setgid bit set, skipping"
    178198msgstr "%s: Tập tin có đặt bít setuid hoặc setgid nên bỏ qua"
    179199
    180 #: src/xz/file_io.c:584
     200#: src/xz/file_io.c:690
    181201#, c-format
    182202msgid "%s: File has sticky bit set, skipping"
    183203msgstr "%s: Tập tin có bít sticky nên bỏ qua"
    184204
    185 #: src/xz/file_io.c:591
     205#: src/xz/file_io.c:697
    186206#, c-format
    187207msgid "%s: Input file has more than one hard link, skipping"
    188208msgstr "%s: Tập tin đầu vào có nhiều hơn một liên kết cứng nên bỏ qua"
    189209
    190 #: src/xz/file_io.c:671
     210#: src/xz/file_io.c:782
    191211#, c-format
    192212msgid "Error restoring the status flags to standard input: %s"
    193213msgstr "Gặp lỗi khi phục hồi các cờ trạng thái tới đầu vào tiêu chuẩn: %s"
    194214
    195 #: src/xz/file_io.c:720
     215#: src/xz/file_io.c:830
    196216#, c-format
    197217msgid "Error getting the file status flags from standard output: %s"
    198218msgstr "Gặp lỗi khi lấy các cờ trạng thái tập tin từ đầu vào tiêu chuẩn: %s"
    199219
    200 #: src/xz/file_io.c:898
     220#: src/xz/file_io.c:1008
    201221#, c-format
    202222msgid "Error restoring the O_APPEND flag to standard output: %s"
    203223msgstr "Gặp lỗi khi phục hồi cờ O_APPEND trên đầu ra tiêu chuẩn: %s"
    204224
    205 #: src/xz/file_io.c:910
     225#: src/xz/file_io.c:1020
    206226#, c-format
    207227msgid "%s: Closing the file failed: %s"
    208228msgstr "%s: Gặp lỗi khi đóng tập tin: %s"
    209229
    210 #: src/xz/file_io.c:946 src/xz/file_io.c:1172
     230#: src/xz/file_io.c:1056 src/xz/file_io.c:1282
    211231#, c-format
    212232msgid "%s: Seeking failed when trying to create a sparse file: %s"
    213233msgstr "%s: Gặp lỗi khi di chuyển vị trí đọc khi cố tạo một tập tin rải rác: %s"
    214234
    215 #: src/xz/file_io.c:1041
     235#: src/xz/file_io.c:1151
    216236#, c-format
    217237msgid "%s: Read error: %s"
    218238msgstr "%s: Lỗi đọc: %s"
    219239
    220 #: src/xz/file_io.c:1061
     240#: src/xz/file_io.c:1171
    221241#, c-format
    222242msgid "%s: Error seeking the file: %s"
    223243msgstr "%s: Gặp lỗi khi di chuyển vị trí đọc tập tin: %s"
    224244
    225 #: src/xz/file_io.c:1071
     245#: src/xz/file_io.c:1181
    226246#, c-format
    227247msgid "%s: Unexpected end of file"
    228248msgstr "%s: Kết thúc tập tin bất ngờ"
    229249
    230 #: src/xz/file_io.c:1130
     250#: src/xz/file_io.c:1240
    231251#, c-format
    232252msgid "%s: Write error: %s"
     
    465485msgstr "Nén và giải nén với --robot vẫn chưa được hỗ trợ."
    466486
    467 #: src/xz/main.c:231
     487#: src/xz/main.c:252
    468488msgid "Cannot read data from standard input when reading filenames from standard input"
    469489msgstr "KhÃŽng thể đọc dữ liệu từ đầu vào tiêu chuẩn khi đọc tập tin từ đầu vào tiêu chuẩn"
  • TabularUnified xz/vendor/current/po/xz.pot

    r1791 r1993  
    66msgid ""
    77msgstr ""
    8 "Project-Id-Version: xz 5.2.2\n"
     8"Project-Id-Version: xz 5.2.3\n"
    99"Report-Msgid-Bugs-To: lasse.collin@tukaani.org\n"
    10 "POT-Creation-Date: 2015-09-29 14:03+0300\n"
     10"POT-Creation-Date: 2016-12-30 13:27+0200\n"
    1111"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1212"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     
    5151msgstr ""
    5252
     53#: src/xz/args.c:643
     54msgid "Compression support was disabled at build time"
     55msgstr ""
     56
     57#: src/xz/args.c:650
     58msgid "Decompression support was disabled at build time"
     59msgstr ""
     60
    5361#: src/xz/coder.c:110
    5462msgid "Maximum number of filters is four"
     
    8391msgstr ""
    8492
    85 #: src/xz/coder.c:234
     93#: src/xz/coder.c:235
    8694#, c-format
    8795msgid "Using up to %<PRIu32> threads."
    8896msgstr ""
    8997
    90 #: src/xz/coder.c:247
     98#: src/xz/coder.c:251
    9199msgid "Unsupported filter chain or filter options"
    92100msgstr ""
    93101
    94 #: src/xz/coder.c:255
     102#: src/xz/coder.c:263
    95103#, c-format
    96104msgid "Decompression will need %s MiB of memory."
    97105msgstr ""
    98106
    99 #: src/xz/coder.c:290
     107#: src/xz/coder.c:300
    100108#, c-format
    101109msgid "Adjusted the number of threads from %s to %s to not exceed the memory usage limit of %s MiB"
    102110msgstr ""
    103111
    104 #: src/xz/coder.c:344
     112#: src/xz/coder.c:354
    105113#, c-format
    106114msgid "Adjusted LZMA%c dictionary size from %s MiB to %s MiB to not exceed the memory usage limit of %s MiB"
    107115msgstr ""
    108116
    109 #: src/xz/file_io.c:87 src/xz/file_io.c:95
     117#: src/xz/file_io.c:110 src/xz/file_io.c:118
    110118#, c-format
    111119msgid "Error creating a pipe: %s"
    112120msgstr ""
    113121
    114 #: src/xz/file_io.c:172
     122#: src/xz/file_io.c:173
     123msgid "Sandbox is disabled due to incompatible command line arguments"
     124msgstr ""
     125
     126#: src/xz/file_io.c:216
     127msgid "Sandbox was successfully enabled"
     128msgstr ""
     129
     130#: src/xz/file_io.c:220
     131msgid "Failed to enable the sandbox"
     132msgstr ""
     133
     134#: src/xz/file_io.c:262
    115135#, c-format
    116136msgid "%s: poll() failed: %s"
     
    127147#. of the original file, and in that case it obviously
    128148#. shouldn't be removed.
    129 #: src/xz/file_io.c:242
     149#: src/xz/file_io.c:332
    130150#, c-format
    131151msgid "%s: File seems to have been moved, not removing"
    132152msgstr ""
    133153
    134 #: src/xz/file_io.c:249 src/xz/file_io.c:762
     154#: src/xz/file_io.c:339 src/xz/file_io.c:872
    135155#, c-format
    136156msgid "%s: Cannot remove: %s"
    137157msgstr ""
    138158
    139 #: src/xz/file_io.c:274
     159#: src/xz/file_io.c:364
    140160#, c-format
    141161msgid "%s: Cannot set the file owner: %s"
    142162msgstr ""
    143163
    144 #: src/xz/file_io.c:280
     164#: src/xz/file_io.c:370
    145165#, c-format
    146166msgid "%s: Cannot set the file group: %s"
    147167msgstr ""
    148168
    149 #: src/xz/file_io.c:299
     169#: src/xz/file_io.c:389
    150170#, c-format
    151171msgid "%s: Cannot set the file permissions: %s"
    152172msgstr ""
    153173
    154 #: src/xz/file_io.c:409
     174#: src/xz/file_io.c:515
    155175#, c-format
    156176msgid "Error getting the file status flags from standard input: %s"
    157177msgstr ""
    158178
    159 #: src/xz/file_io.c:463 src/xz/file_io.c:525
     179#: src/xz/file_io.c:569 src/xz/file_io.c:631
    160180#, c-format
    161181msgid "%s: Is a symbolic link, skipping"
    162182msgstr ""
    163183
    164 #: src/xz/file_io.c:554
     184#: src/xz/file_io.c:660
    165185#, c-format
    166186msgid "%s: Is a directory, skipping"
    167187msgstr ""
    168188
    169 #: src/xz/file_io.c:560
     189#: src/xz/file_io.c:666
    170190#, c-format
    171191msgid "%s: Not a regular file, skipping"
    172192msgstr ""
    173193
    174 #: src/xz/file_io.c:577
     194#: src/xz/file_io.c:683
    175195#, c-format
    176196msgid "%s: File has setuid or setgid bit set, skipping"
    177197msgstr ""
    178198
    179 #: src/xz/file_io.c:584
     199#: src/xz/file_io.c:690
    180200#, c-format
    181201msgid "%s: File has sticky bit set, skipping"
    182202msgstr ""
    183203
    184 #: src/xz/file_io.c:591
     204#: src/xz/file_io.c:697
    185205#, c-format
    186206msgid "%s: Input file has more than one hard link, skipping"
    187207msgstr ""
    188208
    189 #: src/xz/file_io.c:671
     209#: src/xz/file_io.c:782
    190210#, c-format
    191211msgid "Error restoring the status flags to standard input: %s"
    192212msgstr ""
    193213
    194 #: src/xz/file_io.c:720
     214#: src/xz/file_io.c:830
    195215#, c-format
    196216msgid "Error getting the file status flags from standard output: %s"
    197217msgstr ""
    198218
    199 #: src/xz/file_io.c:898
     219#: src/xz/file_io.c:1008
    200220#, c-format
    201221msgid "Error restoring the O_APPEND flag to standard output: %s"
    202222msgstr ""
    203223
    204 #: src/xz/file_io.c:910
     224#: src/xz/file_io.c:1020
    205225#, c-format
    206226msgid "%s: Closing the file failed: %s"
    207227msgstr ""
    208228
    209 #: src/xz/file_io.c:946 src/xz/file_io.c:1172
     229#: src/xz/file_io.c:1056 src/xz/file_io.c:1282
    210230#, c-format
    211231msgid "%s: Seeking failed when trying to create a sparse file: %s"
    212232msgstr ""
    213233
    214 #: src/xz/file_io.c:1041
     234#: src/xz/file_io.c:1151
    215235#, c-format
    216236msgid "%s: Read error: %s"
    217237msgstr ""
    218238
    219 #: src/xz/file_io.c:1061
     239#: src/xz/file_io.c:1171
    220240#, c-format
    221241msgid "%s: Error seeking the file: %s"
    222242msgstr ""
    223243
    224 #: src/xz/file_io.c:1071
     244#: src/xz/file_io.c:1181
    225245#, c-format
    226246msgid "%s: Unexpected end of file"
    227247msgstr ""
    228248
    229 #: src/xz/file_io.c:1130
     249#: src/xz/file_io.c:1240
    230250#, c-format
    231251msgid "%s: Write error: %s"
     
    461481msgstr ""
    462482
    463 #: src/xz/main.c:231
     483#: src/xz/main.c:252
    464484msgid "Cannot read data from standard input when reading filenames from standard input"
    465485msgstr ""
  • TabularUnified xz/vendor/current/src/Makefile.in

    r1791 r1993  
    9393subdir = src
    9494ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    95 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    96         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    97         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    98         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    99         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    100         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    101         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    102         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    103         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    104         $(top_srcdir)/m4/tuklib_common.m4 \
     95am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     96        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     97        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     98        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     99        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     100        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     101        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     102        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     103        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     104        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    105105        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    106106        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    208208AUTOMAKE = @AUTOMAKE@
    209209AWK = @AWK@
     210CAPSICUM_LIB = @CAPSICUM_LIB@
    210211CC = @CC@
    211212CCAS = @CCAS@
  • TabularUnified xz/vendor/current/src/common/tuklib_cpucores.c

    r1791 r1993  
    1818#       endif
    1919#       include <windows.h>
     20
     21// glibc >= 2.9
     22#elif defined(TUKLIB_CPUCORES_SCHED_GETAFFINITY)
     23#       include <sched.h>
    2024
    2125// FreeBSD
     
    4953        GetSystemInfo(&sysinfo);
    5054        ret = sysinfo.dwNumberOfProcessors;
     55
     56#elif defined(TUKLIB_CPUCORES_SCHED_GETAFFINITY)
     57        cpu_set_t cpu_mask;
     58        if (sched_getaffinity(0, sizeof(cpu_mask), &cpu_mask) == 0)
     59                ret = CPU_COUNT(&cpu_mask);
    5160
    5261#elif defined(TUKLIB_CPUCORES_CPUSET)
  • TabularUnified xz/vendor/current/src/common/tuklib_physmem.c

    r1791 r1993  
    8787                HMODULE kernel32 = GetModuleHandle("kernel32.dll");
    8888                if (kernel32 != NULL) {
    89                         BOOL (WINAPI *gmse)(LPMEMORYSTATUSEX) = GetProcAddress(
     89                        typedef BOOL (WINAPI *gmse_type)(LPMEMORYSTATUSEX);
     90                        gmse_type gmse = (gmse_type)GetProcAddress(
    9091                                        kernel32, "GlobalMemoryStatusEx");
    9192                        if (gmse != NULL) {
  • TabularUnified xz/vendor/current/src/liblzma/Makefile.am

    r1791 r1993  
    2525        -I$(top_srcdir)/src/common \
    2626        -DTUKLIB_SYMBOL_PREFIX=lzma_
    27 liblzma_la_LDFLAGS = -no-undefined -version-info 7:2:2
     27liblzma_la_LDFLAGS = -no-undefined -version-info 7:3:2
    2828
    2929EXTRA_DIST += liblzma.map validate_map.sh
  • TabularUnified xz/vendor/current/src/liblzma/Makefile.in

    r1791 r1993  
    9494
    9595@COND_THREADS_TRUE@am__append_2 = ../common/tuklib_cpucores.c
    96 @COND_MAIN_ENCODER_TRUE@am__append_3 = \
     96@COND_THREADS_TRUE@am__append_3 = common/hardware_cputhreads.c
     97@COND_MAIN_ENCODER_TRUE@am__append_4 = \
    9798@COND_MAIN_ENCODER_TRUE@        common/alone_encoder.c \
    9899@COND_MAIN_ENCODER_TRUE@        common/block_buffer_encoder.c \
     
    115116@COND_MAIN_ENCODER_TRUE@        common/vli_encoder.c
    116117
    117 @COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@am__append_4 = \
    118 @COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@     common/hardware_cputhreads.c \
     118@COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@am__append_5 = \
    119119@COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@     common/outqueue.c \
    120120@COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@     common/outqueue.h \
    121121@COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@     common/stream_encoder_mt.c
    122122
    123 @COND_MAIN_DECODER_TRUE@am__append_5 = \
     123@COND_MAIN_DECODER_TRUE@am__append_6 = \
    124124@COND_MAIN_DECODER_TRUE@        common/alone_decoder.c \
    125125@COND_MAIN_DECODER_TRUE@        common/alone_decoder.h \
     
    142142@COND_MAIN_DECODER_TRUE@        common/vli_decoder.c
    143143
    144 @COND_CHECK_CRC32_TRUE@@COND_SMALL_TRUE@am__append_6 = check/crc32_small.c
    145 @COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__append_7 = \
     144@COND_CHECK_CRC32_TRUE@@COND_SMALL_TRUE@am__append_7 = check/crc32_small.c
     145@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__append_8 = \
    146146@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@       check/crc32_table.c \
    147147@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@       check/crc32_table_le.h \
    148148@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@       check/crc32_table_be.h
    149149
    150 @COND_ASM_X86_TRUE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__append_8 = check/crc32_x86.S
    151 @COND_ASM_X86_FALSE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__append_9 = check/crc32_fast.c
    152 @COND_CHECK_CRC64_TRUE@@COND_SMALL_TRUE@am__append_10 = check/crc64_small.c
    153 @COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__append_11 = \
     150@COND_ASM_X86_TRUE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__append_9 = check/crc32_x86.S
     151@COND_ASM_X86_FALSE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__append_10 = check/crc32_fast.c
     152@COND_CHECK_CRC64_TRUE@@COND_SMALL_TRUE@am__append_11 = check/crc64_small.c
     153@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__append_12 = \
    154154@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@       check/crc64_table.c \
    155155@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@       check/crc64_table_le.h \
    156156@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@       check/crc64_table_be.h
    157157
    158 @COND_ASM_X86_TRUE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__append_12 = check/crc64_x86.S
    159 @COND_ASM_X86_FALSE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__append_13 = check/crc64_fast.c
    160 @COND_CHECK_SHA256_TRUE@@COND_INTERNAL_SHA256_TRUE@am__append_14 = check/sha256.c
    161 @COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__append_15 = \
     158@COND_ASM_X86_TRUE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__append_13 = check/crc64_x86.S
     159@COND_ASM_X86_FALSE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__append_14 = check/crc64_fast.c
     160@COND_CHECK_SHA256_TRUE@@COND_INTERNAL_SHA256_TRUE@am__append_15 = check/sha256.c
     161@COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__append_16 = \
    162162@COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@     lz/lz_encoder.c \
    163163@COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@     lz/lz_encoder.h \
     
    166166@COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@     lz/lz_encoder_mf.c
    167167
    168 @COND_DECODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__append_16 = \
     168@COND_DECODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__append_17 = \
    169169@COND_DECODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@     lz/lz_decoder.c \
    170170@COND_DECODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@     lz/lz_decoder.h
    171171
    172 @COND_FILTER_LZMA1_TRUE@am__append_17 = lzma/fastpos_tablegen.c \
     172@COND_FILTER_LZMA1_TRUE@am__append_18 = lzma/fastpos_tablegen.c \
    173173@COND_FILTER_LZMA1_TRUE@        rangecoder/price_tablegen.c
    174 @COND_FILTER_LZMA1_TRUE@am__append_18 = lzma/lzma_common.h
    175 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_19 = \
     174@COND_FILTER_LZMA1_TRUE@am__append_19 = lzma/lzma_common.h \
     175@COND_FILTER_LZMA1_TRUE@        lzma/lzma_encoder_presets.c
     176@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_20 = \
    176177@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/fastpos.h \
    177178@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_encoder.h \
    178179@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_encoder.c \
    179 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_encoder_presets.c \
    180180@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_encoder_private.h \
    181181@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_encoder_optimum_fast.c \
    182182@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_encoder_optimum_normal.c
    183183
    184 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@@COND_SMALL_FALSE@am__append_20 = lzma/fastpos_table.c
    185 @COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_21 = \
     184@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@@COND_SMALL_FALSE@am__append_21 = lzma/fastpos_table.c
     185@COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_22 = \
    186186@COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_decoder.c \
    187187@COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma_decoder.h
    188188
    189 @COND_ENCODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_22 = \
     189@COND_ENCODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_23 = \
    190190@COND_ENCODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma2_encoder.c \
    191191@COND_ENCODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma2_encoder.h
    192192
    193 @COND_DECODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_23 = \
     193@COND_DECODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_24 = \
    194194@COND_DECODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma2_decoder.c \
    195195@COND_DECODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@       lzma/lzma2_decoder.h
    196196
    197 @COND_FILTER_LZMA1_TRUE@am__append_24 = rangecoder/range_common.h
    198 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_25 = \
     197@COND_FILTER_LZMA1_TRUE@am__append_25 = rangecoder/range_common.h
     198@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_26 = \
    199199@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       rangecoder/range_encoder.h \
    200200@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       rangecoder/price.h \
    201201@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       rangecoder/price_table.c
    202202
    203 @COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_26 = rangecoder/range_decoder.h
    204 @COND_FILTER_DELTA_TRUE@am__append_27 = \
     203@COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__append_27 = rangecoder/range_decoder.h
     204@COND_FILTER_DELTA_TRUE@am__append_28 = \
    205205@COND_FILTER_DELTA_TRUE@        delta/delta_common.c \
    206206@COND_FILTER_DELTA_TRUE@        delta/delta_common.h \
    207207@COND_FILTER_DELTA_TRUE@        delta/delta_private.h
    208208
    209 @COND_ENCODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__append_28 = \
     209@COND_ENCODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__append_29 = \
    210210@COND_ENCODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@       delta/delta_encoder.c \
    211211@COND_ENCODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@       delta/delta_encoder.h
    212212
    213 @COND_DECODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__append_29 = \
     213@COND_DECODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__append_30 = \
    214214@COND_DECODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@       delta/delta_decoder.c \
    215215@COND_DECODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@       delta/delta_decoder.h
    216216
    217 @COND_FILTER_SIMPLE_TRUE@am__append_30 = \
     217@COND_FILTER_SIMPLE_TRUE@am__append_31 = \
    218218@COND_FILTER_SIMPLE_TRUE@       simple/simple_coder.c \
    219219@COND_FILTER_SIMPLE_TRUE@       simple/simple_coder.h \
    220220@COND_FILTER_SIMPLE_TRUE@       simple/simple_private.h
    221221
    222 @COND_ENCODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_31 = \
     222@COND_ENCODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_32 = \
    223223@COND_ENCODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@     simple/simple_encoder.c \
    224224@COND_ENCODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@     simple/simple_encoder.h
    225225
    226 @COND_DECODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_32 = \
     226@COND_DECODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_33 = \
    227227@COND_DECODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@     simple/simple_decoder.c \
    228228@COND_DECODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@     simple/simple_decoder.h
    229229
    230 @COND_FILTER_SIMPLE_TRUE@@COND_FILTER_X86_TRUE@am__append_33 = simple/x86.c
    231 @COND_FILTER_POWERPC_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_34 = simple/powerpc.c
    232 @COND_FILTER_IA64_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_35 = simple/ia64.c
    233 @COND_FILTER_ARM_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_36 = simple/arm.c
    234 @COND_FILTER_ARMTHUMB_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_37 = simple/armthumb.c
    235 @COND_FILTER_SIMPLE_TRUE@@COND_FILTER_SPARC_TRUE@am__append_38 = simple/sparc.c
    236 @COND_W32_TRUE@am__append_39 = liblzma.def liblzma.def.in empty.c
    237 @COND_W32_TRUE@am__append_40 = liblzma_w32res.rc
    238 @COND_W32_TRUE@am__append_41 = -Xlinker --output-def -Xlinker liblzma.def.in
    239 @COND_SHARED_TRUE@@COND_W32_TRUE@am__append_42 = liblzma.def
     230@COND_FILTER_SIMPLE_TRUE@@COND_FILTER_X86_TRUE@am__append_34 = simple/x86.c
     231@COND_FILTER_POWERPC_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_35 = simple/powerpc.c
     232@COND_FILTER_IA64_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_36 = simple/ia64.c
     233@COND_FILTER_ARM_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_37 = simple/arm.c
     234@COND_FILTER_ARMTHUMB_TRUE@@COND_FILTER_SIMPLE_TRUE@am__append_38 = simple/armthumb.c
     235@COND_FILTER_SIMPLE_TRUE@@COND_FILTER_SPARC_TRUE@am__append_39 = simple/sparc.c
     236@COND_W32_TRUE@am__append_40 = liblzma.def liblzma.def.in empty.c
     237@COND_W32_TRUE@am__append_41 = liblzma_w32res.rc
     238@COND_W32_TRUE@am__append_42 = -Xlinker --output-def -Xlinker liblzma.def.in
     239@COND_SHARED_TRUE@@COND_W32_TRUE@am__append_43 = liblzma.def
    240240subdir = src/liblzma
    241241ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    242 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    243         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    244         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    245         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    246         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    247         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    248         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    249         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    250         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    251         $(top_srcdir)/m4/tuklib_common.m4 \
     242am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     243        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     244        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     245        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     246        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     247        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     248        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     249        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     250        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     251        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    252252        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    253253        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    301301        common/index.c common/index.h common/stream_flags_common.c \
    302302        common/stream_flags_common.h common/vli_size.c \
    303         common/alone_encoder.c common/block_buffer_encoder.c \
    304         common/block_buffer_encoder.h common/block_encoder.c \
    305         common/block_encoder.h common/block_header_encoder.c \
    306         common/easy_buffer_encoder.c common/easy_encoder.c \
    307         common/easy_encoder_memusage.c common/filter_buffer_encoder.c \
    308         common/filter_encoder.c common/filter_encoder.h \
    309         common/filter_flags_encoder.c common/index_encoder.c \
    310         common/index_encoder.h common/stream_buffer_encoder.c \
    311         common/stream_encoder.c common/stream_flags_encoder.c \
    312         common/vli_encoder.c common/hardware_cputhreads.c \
     303        common/hardware_cputhreads.c common/alone_encoder.c \
     304        common/block_buffer_encoder.c common/block_buffer_encoder.h \
     305        common/block_encoder.c common/block_encoder.h \
     306        common/block_header_encoder.c common/easy_buffer_encoder.c \
     307        common/easy_encoder.c common/easy_encoder_memusage.c \
     308        common/filter_buffer_encoder.c common/filter_encoder.c \
     309        common/filter_encoder.h common/filter_flags_encoder.c \
     310        common/index_encoder.c common/index_encoder.h \
     311        common/stream_buffer_encoder.c common/stream_encoder.c \
     312        common/stream_flags_encoder.c common/vli_encoder.c \
    313313        common/outqueue.c common/outqueue.h common/stream_encoder_mt.c \
    314314        common/alone_decoder.c common/alone_decoder.h \
     
    330330        lz/lz_encoder_hash.h lz/lz_encoder_hash_table.h \
    331331        lz/lz_encoder_mf.c lz/lz_decoder.c lz/lz_decoder.h \
    332         lzma/lzma_common.h lzma/fastpos.h lzma/lzma_encoder.h \
    333         lzma/lzma_encoder.c lzma/lzma_encoder_presets.c \
     332        lzma/lzma_common.h lzma/lzma_encoder_presets.c lzma/fastpos.h \
     333        lzma/lzma_encoder.h lzma/lzma_encoder.c \
    334334        lzma/lzma_encoder_private.h lzma/lzma_encoder_optimum_fast.c \
    335335        lzma/lzma_encoder_optimum_normal.c lzma/fastpos_table.c \
     
    349349        liblzma_w32res.rc
    350350@COND_THREADS_TRUE@am__objects_1 = liblzma_la-tuklib_cpucores.lo
    351 @COND_MAIN_ENCODER_TRUE@am__objects_2 = liblzma_la-alone_encoder.lo \
     351@COND_THREADS_TRUE@am__objects_2 = liblzma_la-hardware_cputhreads.lo
     352@COND_MAIN_ENCODER_TRUE@am__objects_3 = liblzma_la-alone_encoder.lo \
    352353@COND_MAIN_ENCODER_TRUE@        liblzma_la-block_buffer_encoder.lo \
    353354@COND_MAIN_ENCODER_TRUE@        liblzma_la-block_encoder.lo \
     
    364365@COND_MAIN_ENCODER_TRUE@        liblzma_la-stream_flags_encoder.lo \
    365366@COND_MAIN_ENCODER_TRUE@        liblzma_la-vli_encoder.lo
    366 @COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@am__objects_3 = liblzma_la-hardware_cputhreads.lo \
    367 @COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@     liblzma_la-outqueue.lo \
     367@COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@am__objects_4 = liblzma_la-outqueue.lo \
    368368@COND_MAIN_ENCODER_TRUE@@COND_THREADS_TRUE@     liblzma_la-stream_encoder_mt.lo
    369 @COND_MAIN_DECODER_TRUE@am__objects_4 = liblzma_la-alone_decoder.lo \
     369@COND_MAIN_DECODER_TRUE@am__objects_5 = liblzma_la-alone_decoder.lo \
    370370@COND_MAIN_DECODER_TRUE@        liblzma_la-auto_decoder.lo \
    371371@COND_MAIN_DECODER_TRUE@        liblzma_la-block_buffer_decoder.lo \
     
    382382@COND_MAIN_DECODER_TRUE@        liblzma_la-stream_flags_decoder.lo \
    383383@COND_MAIN_DECODER_TRUE@        liblzma_la-vli_decoder.lo
    384 @COND_CHECK_CRC32_TRUE@@COND_SMALL_TRUE@am__objects_5 = liblzma_la-crc32_small.lo
    385 @COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__objects_6 = liblzma_la-crc32_table.lo
    386 @COND_ASM_X86_TRUE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__objects_7 = liblzma_la-crc32_x86.lo
    387 @COND_ASM_X86_FALSE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__objects_8 = liblzma_la-crc32_fast.lo
    388 @COND_CHECK_CRC64_TRUE@@COND_SMALL_TRUE@am__objects_9 = liblzma_la-crc64_small.lo
    389 @COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__objects_10 = liblzma_la-crc64_table.lo
    390 @COND_ASM_X86_TRUE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__objects_11 = liblzma_la-crc64_x86.lo
    391 @COND_ASM_X86_FALSE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__objects_12 = liblzma_la-crc64_fast.lo
    392 @COND_CHECK_SHA256_TRUE@@COND_INTERNAL_SHA256_TRUE@am__objects_13 = liblzma_la-sha256.lo
    393 @COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__objects_14 = liblzma_la-lz_encoder.lo \
     384@COND_CHECK_CRC32_TRUE@@COND_SMALL_TRUE@am__objects_6 = liblzma_la-crc32_small.lo
     385@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__objects_7 = liblzma_la-crc32_table.lo
     386@COND_ASM_X86_TRUE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__objects_8 = liblzma_la-crc32_x86.lo
     387@COND_ASM_X86_FALSE@@COND_CHECK_CRC32_TRUE@@COND_SMALL_FALSE@am__objects_9 = liblzma_la-crc32_fast.lo
     388@COND_CHECK_CRC64_TRUE@@COND_SMALL_TRUE@am__objects_10 = liblzma_la-crc64_small.lo
     389@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__objects_11 = liblzma_la-crc64_table.lo
     390@COND_ASM_X86_TRUE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__objects_12 = liblzma_la-crc64_x86.lo
     391@COND_ASM_X86_FALSE@@COND_CHECK_CRC64_TRUE@@COND_SMALL_FALSE@am__objects_13 = liblzma_la-crc64_fast.lo
     392@COND_CHECK_SHA256_TRUE@@COND_INTERNAL_SHA256_TRUE@am__objects_14 = liblzma_la-sha256.lo
     393@COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__objects_15 = liblzma_la-lz_encoder.lo \
    394394@COND_ENCODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@     liblzma_la-lz_encoder_mf.lo
    395 @COND_DECODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__objects_15 = liblzma_la-lz_decoder.lo
    396 am__objects_16 =
    397 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_17 = liblzma_la-lzma_encoder.lo \
    398 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       liblzma_la-lzma_encoder_presets.lo \
     395@COND_DECODER_LZ_TRUE@@COND_FILTER_LZ_TRUE@am__objects_16 = liblzma_la-lz_decoder.lo
     396@COND_FILTER_LZMA1_TRUE@am__objects_17 =  \
     397@COND_FILTER_LZMA1_TRUE@        liblzma_la-lzma_encoder_presets.lo
     398@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_18 = liblzma_la-lzma_encoder.lo \
    399399@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       liblzma_la-lzma_encoder_optimum_fast.lo \
    400400@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@       liblzma_la-lzma_encoder_optimum_normal.lo
    401 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@@COND_SMALL_FALSE@am__objects_18 = liblzma_la-fastpos_table.lo
    402 @COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_19 = liblzma_la-lzma_decoder.lo
    403 @COND_ENCODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_20 = liblzma_la-lzma2_encoder.lo
    404 @COND_DECODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_21 = liblzma_la-lzma2_decoder.lo
    405 @COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_22 = liblzma_la-price_table.lo
    406 @COND_FILTER_DELTA_TRUE@am__objects_23 = liblzma_la-delta_common.lo
    407 @COND_ENCODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__objects_24 = liblzma_la-delta_encoder.lo
    408 @COND_DECODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__objects_25 = liblzma_la-delta_decoder.lo
    409 @COND_FILTER_SIMPLE_TRUE@am__objects_26 = liblzma_la-simple_coder.lo
    410 @COND_ENCODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_27 = liblzma_la-simple_encoder.lo
    411 @COND_DECODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_28 = liblzma_la-simple_decoder.lo
    412 @COND_FILTER_SIMPLE_TRUE@@COND_FILTER_X86_TRUE@am__objects_29 = liblzma_la-x86.lo
    413 @COND_FILTER_POWERPC_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_30 = liblzma_la-powerpc.lo
    414 @COND_FILTER_IA64_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_31 = liblzma_la-ia64.lo
    415 @COND_FILTER_ARM_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_32 = liblzma_la-arm.lo
    416 @COND_FILTER_ARMTHUMB_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_33 = liblzma_la-armthumb.lo
    417 @COND_FILTER_SIMPLE_TRUE@@COND_FILTER_SPARC_TRUE@am__objects_34 = liblzma_la-sparc.lo
    418 @COND_W32_TRUE@am__objects_35 = liblzma_w32res.lo
     401@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@@COND_SMALL_FALSE@am__objects_19 = liblzma_la-fastpos_table.lo
     402@COND_DECODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_20 = liblzma_la-lzma_decoder.lo
     403@COND_ENCODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_21 = liblzma_la-lzma2_encoder.lo
     404@COND_DECODER_LZMA2_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_22 = liblzma_la-lzma2_decoder.lo
     405am__objects_23 =
     406@COND_ENCODER_LZMA1_TRUE@@COND_FILTER_LZMA1_TRUE@am__objects_24 = liblzma_la-price_table.lo
     407@COND_FILTER_DELTA_TRUE@am__objects_25 = liblzma_la-delta_common.lo
     408@COND_ENCODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__objects_26 = liblzma_la-delta_encoder.lo
     409@COND_DECODER_DELTA_TRUE@@COND_FILTER_DELTA_TRUE@am__objects_27 = liblzma_la-delta_decoder.lo
     410@COND_FILTER_SIMPLE_TRUE@am__objects_28 = liblzma_la-simple_coder.lo
     411@COND_ENCODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_29 = liblzma_la-simple_encoder.lo
     412@COND_DECODER_SIMPLE_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_30 = liblzma_la-simple_decoder.lo
     413@COND_FILTER_SIMPLE_TRUE@@COND_FILTER_X86_TRUE@am__objects_31 = liblzma_la-x86.lo
     414@COND_FILTER_POWERPC_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_32 = liblzma_la-powerpc.lo
     415@COND_FILTER_IA64_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_33 = liblzma_la-ia64.lo
     416@COND_FILTER_ARM_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_34 = liblzma_la-arm.lo
     417@COND_FILTER_ARMTHUMB_TRUE@@COND_FILTER_SIMPLE_TRUE@am__objects_35 = liblzma_la-armthumb.lo
     418@COND_FILTER_SIMPLE_TRUE@@COND_FILTER_SPARC_TRUE@am__objects_36 = liblzma_la-sparc.lo
     419@COND_W32_TRUE@am__objects_37 = liblzma_w32res.lo
    419420am_liblzma_la_OBJECTS = liblzma_la-tuklib_physmem.lo $(am__objects_1) \
    420421        liblzma_la-common.lo liblzma_la-block_util.lo \
     
    423424        liblzma_la-stream_flags_common.lo liblzma_la-vli_size.lo \
    424425        $(am__objects_2) $(am__objects_3) $(am__objects_4) \
    425         liblzma_la-check.lo $(am__objects_5) $(am__objects_6) \
     426        $(am__objects_5) liblzma_la-check.lo $(am__objects_6) \
    426427        $(am__objects_7) $(am__objects_8) $(am__objects_9) \
    427428        $(am__objects_10) $(am__objects_11) $(am__objects_12) \
     
    429430        $(am__objects_16) $(am__objects_17) $(am__objects_18) \
    430431        $(am__objects_19) $(am__objects_20) $(am__objects_21) \
    431         $(am__objects_16) $(am__objects_22) $(am__objects_16) \
    432         $(am__objects_23) $(am__objects_24) $(am__objects_25) \
    433         $(am__objects_26) $(am__objects_27) $(am__objects_28) \
    434         $(am__objects_29) $(am__objects_30) $(am__objects_31) \
    435         $(am__objects_32) $(am__objects_33) $(am__objects_34) \
    436         $(am__objects_35)
     432        $(am__objects_22) $(am__objects_23) $(am__objects_24) \
     433        $(am__objects_23) $(am__objects_25) $(am__objects_26) \
     434        $(am__objects_27) $(am__objects_28) $(am__objects_29) \
     435        $(am__objects_30) $(am__objects_31) $(am__objects_32) \
     436        $(am__objects_33) $(am__objects_34) $(am__objects_35) \
     437        $(am__objects_36) $(am__objects_37)
    437438liblzma_la_OBJECTS = $(am_liblzma_la_OBJECTS)
    438439AM_V_lt = $(am__v_lt_@AM_V@)
     
    572573AUTOMAKE = @AUTOMAKE@
    573574AWK = @AWK@
     575CAPSICUM_LIB = @CAPSICUM_LIB@
    574576CC = @CC@
    575577CCAS = @CCAS@
     
    713715SUBDIRS = api
    714716EXTRA_DIST = liblzma.map validate_map.sh check/crc32_tablegen.c \
    715         check/crc64_tablegen.c $(am__append_17) liblzma.pc.in
    716 CLEANFILES = $(am__append_39)
    717 doc_DATA = $(am__append_42)
     717        check/crc64_tablegen.c $(am__append_18) liblzma.pc.in
     718CLEANFILES = $(am__append_40)
     719doc_DATA = $(am__append_43)
    718720lib_LTLIBRARIES = liblzma.la
    719721liblzma_la_SOURCES = ../common/tuklib_physmem.c $(am__append_2) \
     
    724726        common/stream_flags_common.c common/stream_flags_common.h \
    725727        common/vli_size.c $(am__append_3) $(am__append_4) \
    726         $(am__append_5) check/check.c check/check.h check/crc_macros.h \
    727         $(am__append_6) $(am__append_7) $(am__append_8) \
     728        $(am__append_5) $(am__append_6) check/check.c check/check.h \
     729        check/crc_macros.h $(am__append_7) $(am__append_8) \
    728730        $(am__append_9) $(am__append_10) $(am__append_11) \
    729731        $(am__append_12) $(am__append_13) $(am__append_14) \
    730         $(am__append_15) $(am__append_16) $(am__append_18) \
     732        $(am__append_15) $(am__append_16) $(am__append_17) \
    731733        $(am__append_19) $(am__append_20) $(am__append_21) \
    732734        $(am__append_22) $(am__append_23) $(am__append_24) \
     
    735737        $(am__append_31) $(am__append_32) $(am__append_33) \
    736738        $(am__append_34) $(am__append_35) $(am__append_36) \
    737         $(am__append_37) $(am__append_38) $(am__append_40)
     739        $(am__append_37) $(am__append_38) $(am__append_39) \
     740        $(am__append_41)
    738741liblzma_la_CPPFLAGS = \
    739742        -I$(top_srcdir)/src/liblzma/api \
     
    748751        -DTUKLIB_SYMBOL_PREFIX=lzma_
    749752
    750 liblzma_la_LDFLAGS = -no-undefined -version-info 7:2:2 $(am__append_1) \
    751         $(am__append_41)
     753liblzma_la_LDFLAGS = -no-undefined -version-info 7:3:2 $(am__append_1) \
     754        $(am__append_42)
    752755pkgconfigdir = $(libdir)/pkgconfig
    753756pkgconfig_DATA = liblzma.pc
     
    10381041@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-vli_size.lo `test -f 'common/vli_size.c' || echo '$(srcdir)/'`common/vli_size.c
    10391042
     1043liblzma_la-hardware_cputhreads.lo: common/hardware_cputhreads.c
     1044@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblzma_la-hardware_cputhreads.lo -MD -MP -MF $(DEPDIR)/liblzma_la-hardware_cputhreads.Tpo -c -o liblzma_la-hardware_cputhreads.lo `test -f 'common/hardware_cputhreads.c' || echo '$(srcdir)/'`common/hardware_cputhreads.c
     1045@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/liblzma_la-hardware_cputhreads.Tpo $(DEPDIR)/liblzma_la-hardware_cputhreads.Plo
     1046@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='common/hardware_cputhreads.c' object='liblzma_la-hardware_cputhreads.lo' libtool=yes @AMDEPBACKSLASH@
     1047@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     1048@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-hardware_cputhreads.lo `test -f 'common/hardware_cputhreads.c' || echo '$(srcdir)/'`common/hardware_cputhreads.c
     1049
    10401050liblzma_la-alone_encoder.lo: common/alone_encoder.c
    10411051@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblzma_la-alone_encoder.lo -MD -MP -MF $(DEPDIR)/liblzma_la-alone_encoder.Tpo -c -o liblzma_la-alone_encoder.lo `test -f 'common/alone_encoder.c' || echo '$(srcdir)/'`common/alone_encoder.c
     
    11431153@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-vli_encoder.lo `test -f 'common/vli_encoder.c' || echo '$(srcdir)/'`common/vli_encoder.c
    11441154
    1145 liblzma_la-hardware_cputhreads.lo: common/hardware_cputhreads.c
    1146 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblzma_la-hardware_cputhreads.lo -MD -MP -MF $(DEPDIR)/liblzma_la-hardware_cputhreads.Tpo -c -o liblzma_la-hardware_cputhreads.lo `test -f 'common/hardware_cputhreads.c' || echo '$(srcdir)/'`common/hardware_cputhreads.c
    1147 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/liblzma_la-hardware_cputhreads.Tpo $(DEPDIR)/liblzma_la-hardware_cputhreads.Plo
    1148 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='common/hardware_cputhreads.c' object='liblzma_la-hardware_cputhreads.lo' libtool=yes @AMDEPBACKSLASH@
    1149 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    1150 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-hardware_cputhreads.lo `test -f 'common/hardware_cputhreads.c' || echo '$(srcdir)/'`common/hardware_cputhreads.c
    1151 
    11521155liblzma_la-outqueue.lo: common/outqueue.c
    11531156@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblzma_la-outqueue.lo -MD -MP -MF $(DEPDIR)/liblzma_la-outqueue.Tpo -c -o liblzma_la-outqueue.lo `test -f 'common/outqueue.c' || echo '$(srcdir)/'`common/outqueue.c
     
    13461349@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-lz_decoder.lo `test -f 'lz/lz_decoder.c' || echo '$(srcdir)/'`lz/lz_decoder.c
    13471350
     1351liblzma_la-lzma_encoder_presets.lo: lzma/lzma_encoder_presets.c
     1352@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblzma_la-lzma_encoder_presets.lo -MD -MP -MF $(DEPDIR)/liblzma_la-lzma_encoder_presets.Tpo -c -o liblzma_la-lzma_encoder_presets.lo `test -f 'lzma/lzma_encoder_presets.c' || echo '$(srcdir)/'`lzma/lzma_encoder_presets.c
     1353@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/liblzma_la-lzma_encoder_presets.Tpo $(DEPDIR)/liblzma_la-lzma_encoder_presets.Plo
     1354@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='lzma/lzma_encoder_presets.c' object='liblzma_la-lzma_encoder_presets.lo' libtool=yes @AMDEPBACKSLASH@
     1355@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     1356@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-lzma_encoder_presets.lo `test -f 'lzma/lzma_encoder_presets.c' || echo '$(srcdir)/'`lzma/lzma_encoder_presets.c
     1357
    13481358liblzma_la-lzma_encoder.lo: lzma/lzma_encoder.c
    13491359@am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblzma_la-lzma_encoder.lo -MD -MP -MF $(DEPDIR)/liblzma_la-lzma_encoder.Tpo -c -o liblzma_la-lzma_encoder.lo `test -f 'lzma/lzma_encoder.c' || echo '$(srcdir)/'`lzma/lzma_encoder.c
     
    13521362@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    13531363@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-lzma_encoder.lo `test -f 'lzma/lzma_encoder.c' || echo '$(srcdir)/'`lzma/lzma_encoder.c
    1354 
    1355 liblzma_la-lzma_encoder_presets.lo: lzma/lzma_encoder_presets.c
    1356 @am__fastdepCC_TRUE@    $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT liblzma_la-lzma_encoder_presets.lo -MD -MP -MF $(DEPDIR)/liblzma_la-lzma_encoder_presets.Tpo -c -o liblzma_la-lzma_encoder_presets.lo `test -f 'lzma/lzma_encoder_presets.c' || echo '$(srcdir)/'`lzma/lzma_encoder_presets.c
    1357 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/liblzma_la-lzma_encoder_presets.Tpo $(DEPDIR)/liblzma_la-lzma_encoder_presets.Plo
    1358 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='lzma/lzma_encoder_presets.c' object='liblzma_la-lzma_encoder_presets.lo' libtool=yes @AMDEPBACKSLASH@
    1359 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    1360 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(liblzma_la_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o liblzma_la-lzma_encoder_presets.lo `test -f 'lzma/lzma_encoder_presets.c' || echo '$(srcdir)/'`lzma/lzma_encoder_presets.c
    13611364
    13621365liblzma_la-lzma_encoder_optimum_fast.lo: lzma/lzma_encoder_optimum_fast.c
  • TabularUnified xz/vendor/current/src/liblzma/api/Makefile.in

    r1791 r1993  
    9191subdir = src/liblzma/api
    9292ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    93 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    94         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    95         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    96         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    97         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    98         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    99         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    100         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    101         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    102         $(top_srcdir)/m4/tuklib_common.m4 \
     93am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     94        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     95        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     96        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     97        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     98        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     99        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     100        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     101        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     102        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    103103        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    104104        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    194194AUTOMAKE = @AUTOMAKE@
    195195AWK = @AWK@
     196CAPSICUM_LIB = @CAPSICUM_LIB@
    196197CC = @CC@
    197198CCAS = @CCAS@
  • TabularUnified xz/vendor/current/src/liblzma/api/lzma/version.h

    r1791 r1993  
    2323#define LZMA_VERSION_MAJOR 5
    2424#define LZMA_VERSION_MINOR 2
    25 #define LZMA_VERSION_PATCH 2
     25#define LZMA_VERSION_PATCH 3
    2626#define LZMA_VERSION_STABILITY LZMA_VERSION_STABILITY_STABLE
    2727
  • TabularUnified xz/vendor/current/src/liblzma/check/check.h

    r1791 r1993  
    1616#include "common.h"
    1717
    18 #if defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
     18// If the function for external SHA-256 is missing, use the internal SHA-256
     19// code. Due to how configure works, these defines can only get defined when
     20// both a usable header and a type have already been found.
     21#if !(defined(HAVE_CC_SHA256_INIT) \
     22                || defined(HAVE_SHA256_INIT) \
     23                || defined(HAVE_SHA256INIT))
     24#       define HAVE_INTERNAL_SHA256 1
     25#endif
     26
     27#if defined(HAVE_INTERNAL_SHA256)
     28// Nothing
     29#elif defined(HAVE_COMMONCRYPTO_COMMONDIGEST_H)
    1930#       include <CommonCrypto/CommonDigest.h>
    2031#elif defined(HAVE_SHA256_H)
     
    2435#       include <sys/types.h>
    2536#       include <sha2.h>
    26 #elif defined(HAVE_MINIX_SHA2_H)
    27 #       include <sys/types.h>
    28 #       include <minix/sha2.h>
    2937#endif
    3038
    31 #if defined(HAVE_CC_SHA256_CTX)
    32 typedef CC_SHA256_CTX lzma_sha256_state;
    33 #elif defined(HAVE_SHA256_CTX)
    34 typedef SHA256_CTX lzma_sha256_state;
    35 #elif defined(HAVE_SHA2_CTX)
    36 typedef SHA2_CTX lzma_sha256_state;
    37 #else
     39#if defined(HAVE_INTERNAL_SHA256)
    3840/// State for the internal SHA-256 implementation
    3941typedef struct {
     
    4446        uint64_t size;
    4547} lzma_sha256_state;
     48#elif defined(HAVE_CC_SHA256_CTX)
     49typedef CC_SHA256_CTX lzma_sha256_state;
     50#elif defined(HAVE_SHA256_CTX)
     51typedef SHA256_CTX lzma_sha256_state;
     52#elif defined(HAVE_SHA2_CTX)
     53typedef SHA2_CTX lzma_sha256_state;
    4654#endif
    4755
    48 #if defined(HAVE_CC_SHA256_INIT)
     56#if defined(HAVE_INTERNAL_SHA256)
     57// Nothing
     58#elif defined(HAVE_CC_SHA256_INIT)
    4959#       define LZMA_SHA256FUNC(x) CC_SHA256_ ## x
    5060#elif defined(HAVE_SHA256_INIT)
  • TabularUnified xz/vendor/current/src/liblzma/common/Makefile.inc

    r1791 r1993  
    2121        common/stream_flags_common.h \
    2222        common/vli_size.c
     23
     24if COND_THREADS
     25liblzma_la_SOURCES += common/hardware_cputhreads.c
     26endif
    2327
    2428if COND_MAIN_ENCODER
     
    4650if COND_THREADS
    4751liblzma_la_SOURCES += \
    48         common/hardware_cputhreads.c \
    4952        common/outqueue.c \
    5053        common/outqueue.h \
  • TabularUnified xz/vendor/current/src/liblzma/common/alone_decoder.c

    r1791 r1993  
    1616
    1717
    18 struct lzma_coder_s {
     18typedef struct {
    1919        lzma_next_coder next;
    2020
     
    4747        /// the LZMA decoder
    4848        lzma_options_lzma options;
    49 };
     49} lzma_alone_coder;
    5050
    5151
    5252static lzma_ret
    53 alone_decode(lzma_coder *coder,
     53alone_decode(void *coder_ptr,
    5454                const lzma_allocator *allocator lzma_attribute((__unused__)),
    5555                const uint8_t *restrict in, size_t *restrict in_pos,
     
    5858                lzma_action action)
    5959{
     60        lzma_alone_coder *coder = coder_ptr;
     61
    6062        while (*out_pos < out_size
    6163                        && (coder->sequence == SEQ_CODE || *in_pos < in_size))
     
    167169
    168170static void
    169 alone_decoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    170 {
     171alone_decoder_end(void *coder_ptr, const lzma_allocator *allocator)
     172{
     173        lzma_alone_coder *coder = coder_ptr;
    171174        lzma_next_end(&coder->next, allocator);
    172175        lzma_free(coder, allocator);
     
    176179
    177180static lzma_ret
    178 alone_decoder_memconfig(lzma_coder *coder, uint64_t *memusage,
     181alone_decoder_memconfig(void *coder_ptr, uint64_t *memusage,
    179182                uint64_t *old_memlimit, uint64_t new_memlimit)
    180183{
     184        lzma_alone_coder *coder = coder_ptr;
     185
    181186        *memusage = coder->memusage;
    182187        *old_memlimit = coder->memlimit;
     
    202207                return LZMA_PROG_ERROR;
    203208
    204         if (next->coder == NULL) {
    205                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    206                 if (next->coder == NULL)
     209        lzma_alone_coder *coder = next->coder;
     210
     211        if (coder == NULL) {
     212                coder = lzma_alloc(sizeof(lzma_alone_coder), allocator);
     213                if (coder == NULL)
    207214                        return LZMA_MEM_ERROR;
    208215
     216                next->coder = coder;
    209217                next->code = &alone_decode;
    210218                next->end = &alone_decoder_end;
    211219                next->memconfig = &alone_decoder_memconfig;
    212                 next->coder->next = LZMA_NEXT_CODER_INIT;
    213         }
    214 
    215         next->coder->sequence = SEQ_PROPERTIES;
    216         next->coder->picky = picky;
    217         next->coder->pos = 0;
    218         next->coder->options.dict_size = 0;
    219         next->coder->options.preset_dict = NULL;
    220         next->coder->options.preset_dict_size = 0;
    221         next->coder->uncompressed_size = 0;
    222         next->coder->memlimit = memlimit;
    223         next->coder->memusage = LZMA_MEMUSAGE_BASE;
     220                coder->next = LZMA_NEXT_CODER_INIT;
     221        }
     222
     223        coder->sequence = SEQ_PROPERTIES;
     224        coder->picky = picky;
     225        coder->pos = 0;
     226        coder->options.dict_size = 0;
     227        coder->options.preset_dict = NULL;
     228        coder->options.preset_dict_size = 0;
     229        coder->uncompressed_size = 0;
     230        coder->memlimit = memlimit;
     231        coder->memusage = LZMA_MEMUSAGE_BASE;
    224232
    225233        return LZMA_OK;
  • TabularUnified xz/vendor/current/src/liblzma/common/alone_encoder.c

    r1791 r1993  
    1818
    1919
    20 struct lzma_coder_s {
     20typedef struct {
    2121        lzma_next_coder next;
    2222
     
    2828        size_t header_pos;
    2929        uint8_t header[ALONE_HEADER_SIZE];
    30 };
     30} lzma_alone_coder;
    3131
    3232
    3333static lzma_ret
    34 alone_encode(lzma_coder *coder,
     34alone_encode(void *coder_ptr,
    3535                const lzma_allocator *allocator lzma_attribute((__unused__)),
    3636                const uint8_t *restrict in, size_t *restrict in_pos,
     
    3939                lzma_action action)
    4040{
     41        lzma_alone_coder *coder = coder_ptr;
     42
    4143        while (*out_pos < out_size)
    4244        switch (coder->sequence) {
     
    6668
    6769static void
    68 alone_encoder_end(lzma_coder *coder, const lzma_allocator *allocator)
     70alone_encoder_end(void *coder_ptr, const lzma_allocator *allocator)
    6971{
     72        lzma_alone_coder *coder = coder_ptr;
    7073        lzma_next_end(&coder->next, allocator);
    7174        lzma_free(coder, allocator);
     
    8184        lzma_next_coder_init(&alone_encoder_init, next, allocator);
    8285
    83         if (next->coder == NULL) {
    84                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    85                 if (next->coder == NULL)
     86        lzma_alone_coder *coder = next->coder;
     87
     88        if (coder == NULL) {
     89                coder = lzma_alloc(sizeof(lzma_alone_coder), allocator);
     90                if (coder == NULL)
    8691                        return LZMA_MEM_ERROR;
    8792
     93                next->coder = coder;
    8894                next->code = &alone_encode;
    8995                next->end = &alone_encoder_end;
    90                 next->coder->next = LZMA_NEXT_CODER_INIT;
     96                coder->next = LZMA_NEXT_CODER_INIT;
    9197        }
    9298
    9399        // Basic initializations
    94         next->coder->sequence = SEQ_HEADER;
    95         next->coder->header_pos = 0;
     100        coder->sequence = SEQ_HEADER;
     101        coder->header_pos = 0;
    96102
    97103        // Encode the header:
    98104        // - Properties (1 byte)
    99         if (lzma_lzma_lclppb_encode(options, next->coder->header))
     105        if (lzma_lzma_lclppb_encode(options, coder->header))
    100106                return LZMA_OPTIONS_ERROR;
    101107
     
    117123                ++d;
    118124
    119         unaligned_write32le(next->coder->header + 1, d);
     125        unaligned_write32le(coder->header + 1, d);
    120126
    121127        // - Uncompressed size (always unknown and using EOPM)
    122         memset(next->coder->header + 1 + 4, 0xFF, 8);
     128        memset(coder->header + 1 + 4, 0xFF, 8);
    123129
    124130        // Initialize the LZMA encoder.
     
    132138        };
    133139
    134         return lzma_next_filter_init(&next->coder->next, allocator, filters);
     140        return lzma_next_filter_init(&coder->next, allocator, filters);
    135141}
    136142
  • TabularUnified xz/vendor/current/src/liblzma/common/auto_decoder.c

    r1791 r1993  
    1515
    1616
    17 struct lzma_coder_s {
     17typedef struct {
    1818        /// Stream decoder or LZMA_Alone decoder
    1919        lzma_next_coder next;
     
    2727                SEQ_FINISH,
    2828        } sequence;
    29 };
     29} lzma_auto_coder;
    3030
    3131
    3232static lzma_ret
    33 auto_decode(lzma_coder *coder, const lzma_allocator *allocator,
     33auto_decode(void *coder_ptr, const lzma_allocator *allocator,
    3434                const uint8_t *restrict in, size_t *restrict in_pos,
    3535                size_t in_size, uint8_t *restrict out,
    3636                size_t *restrict out_pos, size_t out_size, lzma_action action)
    3737{
     38        lzma_auto_coder *coder = coder_ptr;
     39
    3840        switch (coder->sequence) {
    3941        case SEQ_INIT:
     
    101103
    102104static void
    103 auto_decoder_end(lzma_coder *coder, const lzma_allocator *allocator)
     105auto_decoder_end(void *coder_ptr, const lzma_allocator *allocator)
    104106{
     107        lzma_auto_coder *coder = coder_ptr;
    105108        lzma_next_end(&coder->next, allocator);
    106109        lzma_free(coder, allocator);
     
    110113
    111114static lzma_check
    112 auto_decoder_get_check(const lzma_coder *coder)
     115auto_decoder_get_check(const void *coder_ptr)
    113116{
     117        const lzma_auto_coder *coder = coder_ptr;
     118
    114119        // It is LZMA_Alone if get_check is NULL.
    115120        return coder->next.get_check == NULL ? LZMA_CHECK_NONE
     
    119124
    120125static lzma_ret
    121 auto_decoder_memconfig(lzma_coder *coder, uint64_t *memusage,
     126auto_decoder_memconfig(void *coder_ptr, uint64_t *memusage,
    122127                uint64_t *old_memlimit, uint64_t new_memlimit)
    123128{
     129        lzma_auto_coder *coder = coder_ptr;
     130
    124131        lzma_ret ret;
    125132
     
    155162                return LZMA_OPTIONS_ERROR;
    156163
    157         if (next->coder == NULL) {
    158                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    159                 if (next->coder == NULL)
     164        lzma_auto_coder *coder = next->coder;
     165        if (coder == NULL) {
     166                coder = lzma_alloc(sizeof(lzma_auto_coder), allocator);
     167                if (coder == NULL)
    160168                        return LZMA_MEM_ERROR;
    161169
     170                next->coder = coder;
    162171                next->code = &auto_decode;
    163172                next->end = &auto_decoder_end;
    164173                next->get_check = &auto_decoder_get_check;
    165174                next->memconfig = &auto_decoder_memconfig;
    166                 next->coder->next = LZMA_NEXT_CODER_INIT;
     175                coder->next = LZMA_NEXT_CODER_INIT;
    167176        }
    168177
    169         next->coder->memlimit = memlimit;
    170         next->coder->flags = flags;
    171         next->coder->sequence = SEQ_INIT;
     178        coder->memlimit = memlimit;
     179        coder->flags = flags;
     180        coder->sequence = SEQ_INIT;
    172181
    173182        return LZMA_OK;
  • TabularUnified xz/vendor/current/src/liblzma/common/block_decoder.c

    r1791 r1993  
    1616
    1717
    18 struct lzma_coder_s {
     18typedef struct {
    1919        enum {
    2020                SEQ_CODE,
     
    4949        /// True if the integrity check won't be calculated and verified.
    5050        bool ignore_check;
    51 };
     51} lzma_block_coder;
    5252
    5353
     
    7575
    7676static lzma_ret
    77 block_decode(lzma_coder *coder, const lzma_allocator *allocator,
     77block_decode(void *coder_ptr, const lzma_allocator *allocator,
    7878                const uint8_t *restrict in, size_t *restrict in_pos,
    7979                size_t in_size, uint8_t *restrict out,
    8080                size_t *restrict out_pos, size_t out_size, lzma_action action)
    8181{
     82        lzma_block_coder *coder = coder_ptr;
     83
    8284        switch (coder->sequence) {
    8385        case SEQ_CODE: {
     
    178180
    179181static void
    180 block_decoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    181 {
     182block_decoder_end(void *coder_ptr, const lzma_allocator *allocator)
     183{
     184        lzma_block_coder *coder = coder_ptr;
    182185        lzma_next_end(&coder->next, allocator);
    183186        lzma_free(coder, allocator);
     
    199202                return LZMA_PROG_ERROR;
    200203
    201         // Allocate and initialize *next->coder if needed.
    202         if (next->coder == NULL) {
    203                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    204                 if (next->coder == NULL)
     204        // Allocate *next->coder if needed.
     205        lzma_block_coder *coder = next->coder;
     206        if (coder == NULL) {
     207                coder = lzma_alloc(sizeof(lzma_block_coder), allocator);
     208                if (coder == NULL)
    205209                        return LZMA_MEM_ERROR;
    206210
     211                next->coder = coder;
    207212                next->code = &block_decode;
    208213                next->end = &block_decoder_end;
    209                 next->coder->next = LZMA_NEXT_CODER_INIT;
     214                coder->next = LZMA_NEXT_CODER_INIT;
    210215        }
    211216
    212217        // Basic initializations
    213         next->coder->sequence = SEQ_CODE;
    214         next->coder->block = block;
    215         next->coder->compressed_size = 0;
    216         next->coder->uncompressed_size = 0;
     218        coder->sequence = SEQ_CODE;
     219        coder->block = block;
     220        coder->compressed_size = 0;
     221        coder->uncompressed_size = 0;
    217222
    218223        // If Compressed Size is not known, we calculate the maximum allowed
    219224        // value so that encoded size of the Block (including Block Padding)
    220225        // is still a valid VLI and a multiple of four.
    221         next->coder->compressed_limit
     226        coder->compressed_limit
    222227                        = block->compressed_size == LZMA_VLI_UNKNOWN
    223228                                ? (LZMA_VLI_MAX & ~LZMA_VLI_C(3))
     
    229234        // supported, and the Block decoder cannot verify the Check field.
    230235        // Caller can test lzma_check_is_supported(block->check).
    231         next->coder->check_pos = 0;
    232         lzma_check_init(&next->coder->check, block->check);
    233 
    234         next->coder->ignore_check = block->version >= 1
     236        coder->check_pos = 0;
     237        lzma_check_init(&coder->check, block->check);
     238
     239        coder->ignore_check = block->version >= 1
    235240                        ? block->ignore_check : false;
    236241
    237242        // Initialize the filter chain.
    238         return lzma_raw_decoder_init(&next->coder->next, allocator,
     243        return lzma_raw_decoder_init(&coder->next, allocator,
    239244                        block->filters);
    240245}
  • TabularUnified xz/vendor/current/src/liblzma/common/block_encoder.c

    r1791 r1993  
    1616
    1717
    18 struct lzma_coder_s {
     18typedef struct {
    1919        /// The filters in the chain; initialized with lzma_raw_decoder_init().
    2020        lzma_next_coder next;
     
    4242        /// Check of the uncompressed data
    4343        lzma_check_state check;
    44 };
     44} lzma_block_coder;
    4545
    4646
    4747static lzma_ret
    48 block_encode(lzma_coder *coder, const lzma_allocator *allocator,
     48block_encode(void *coder_ptr, const lzma_allocator *allocator,
    4949                const uint8_t *restrict in, size_t *restrict in_pos,
    5050                size_t in_size, uint8_t *restrict out,
    5151                size_t *restrict out_pos, size_t out_size, lzma_action action)
    5252{
     53        lzma_block_coder *coder = coder_ptr;
     54
    5355        // Check that our amount of input stays in proper limits.
    5456        if (LZMA_VLI_MAX - coder->uncompressed_size < in_size - *in_pos)
     
    135137
    136138static void
    137 block_encoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    138 {
     139block_encoder_end(void *coder_ptr, const lzma_allocator *allocator)
     140{
     141        lzma_block_coder *coder = coder_ptr;
    139142        lzma_next_end(&coder->next, allocator);
    140143        lzma_free(coder, allocator);
     
    144147
    145148static lzma_ret
    146 block_encoder_update(lzma_coder *coder, const lzma_allocator *allocator,
     149block_encoder_update(void *coder_ptr, const lzma_allocator *allocator,
    147150                const lzma_filter *filters lzma_attribute((__unused__)),
    148151                const lzma_filter *reversed_filters)
    149152{
     153        lzma_block_coder *coder = coder_ptr;
     154
    150155        if (coder->sequence != SEQ_CODE)
    151156                return LZMA_PROG_ERROR;
     
    179184
    180185        // Allocate and initialize *next->coder if needed.
    181         if (next->coder == NULL) {
    182                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    183                 if (next->coder == NULL)
     186        lzma_block_coder *coder = next->coder;
     187        if (coder == NULL) {
     188                coder = lzma_alloc(sizeof(lzma_block_coder), allocator);
     189                if (coder == NULL)
    184190                        return LZMA_MEM_ERROR;
    185191
     192                next->coder = coder;
    186193                next->code = &block_encode;
    187194                next->end = &block_encoder_end;
    188195                next->update = &block_encoder_update;
    189                 next->coder->next = LZMA_NEXT_CODER_INIT;
     196                coder->next = LZMA_NEXT_CODER_INIT;
    190197        }
    191198
    192199        // Basic initializations
    193         next->coder->sequence = SEQ_CODE;
    194         next->coder->block = block;
    195         next->coder->compressed_size = 0;
    196         next->coder->uncompressed_size = 0;
    197         next->coder->pos = 0;
     200        coder->sequence = SEQ_CODE;
     201        coder->block = block;
     202        coder->compressed_size = 0;
     203        coder->uncompressed_size = 0;
     204        coder->pos = 0;
    198205
    199206        // Initialize the check
    200         lzma_check_init(&next->coder->check, block->check);
     207        lzma_check_init(&coder->check, block->check);
    201208
    202209        // Initialize the requested filters.
    203         return lzma_raw_encoder_init(&next->coder->next, allocator,
    204                         block->filters);
     210        return lzma_raw_encoder_init(&coder->next, allocator, block->filters);
    205211}
    206212
  • TabularUnified xz/vendor/current/src/liblzma/common/common.h

    r1791 r1993  
    8989
    9090
    91 /// Type of encoder/decoder specific data; the actual structure is defined
    92 /// differently in different coders.
    93 typedef struct lzma_coder_s lzma_coder;
    94 
    9591typedef struct lzma_next_coder_s lzma_next_coder;
    9692
     
    108104/// function prototype.
    109105typedef lzma_ret (*lzma_code_function)(
    110                 lzma_coder *coder, const lzma_allocator *allocator,
     106                void *coder, const lzma_allocator *allocator,
    111107                const uint8_t *restrict in, size_t *restrict in_pos,
    112108                size_t in_size, uint8_t *restrict out,
     
    116112/// Type of a function to free the memory allocated for the coder
    117113typedef void (*lzma_end_function)(
    118                 lzma_coder *coder, const lzma_allocator *allocator);
     114                void *coder, const lzma_allocator *allocator);
    119115
    120116
     
    139135struct lzma_next_coder_s {
    140136        /// Pointer to coder-specific data
    141         lzma_coder *coder;
     137        void *coder;
    142138
    143139        /// Filter ID. This is LZMA_VLI_UNKNOWN when this structure doesn't
     
    161157        /// Pointer to a function to get progress information. If this is NULL,
    162158        /// lzma_stream.total_in and .total_out are used instead.
    163         void (*get_progress)(lzma_coder *coder,
     159        void (*get_progress)(void *coder,
    164160                        uint64_t *progress_in, uint64_t *progress_out);
    165161
    166162        /// Pointer to function to return the type of the integrity check.
    167163        /// Most coders won't support this.
    168         lzma_check (*get_check)(const lzma_coder *coder);
     164        lzma_check (*get_check)(const void *coder);
    169165
    170166        /// Pointer to function to get and/or change the memory usage limit.
    171167        /// If new_memlimit == 0, the limit is not changed.
    172         lzma_ret (*memconfig)(lzma_coder *coder, uint64_t *memusage,
     168        lzma_ret (*memconfig)(void *coder, uint64_t *memusage,
    173169                        uint64_t *old_memlimit, uint64_t new_memlimit);
    174170
    175171        /// Update the filter-specific options or the whole filter chain
    176172        /// in the encoder.
    177         lzma_ret (*update)(lzma_coder *coder, const lzma_allocator *allocator,
     173        lzma_ret (*update)(void *coder, const lzma_allocator *allocator,
    178174                        const lzma_filter *filters,
    179175                        const lzma_filter *reversed_filters);
  • TabularUnified xz/vendor/current/src/liblzma/common/index.c

    r1791 r1993  
    203203                index_tree_node_end(node->right, allocator, free_func);
    204204
    205         if (free_func != NULL)
    206                 free_func(node, allocator);
    207 
    208         lzma_free(node, allocator);
     205        free_func(node, allocator);
    209206        return;
    210207}
    211208
    212209
    213 /// Free the meory allocated for a tree. If free_func is not NULL,
    214 /// it is called on each node before freeing the node. This is used
    215 /// to free the Record groups from each index_stream before freeing
    216 /// the index_stream itself.
     210/// Free the memory allocated for a tree. Each node is freed using the
     211/// given free_func which is either &lzma_free or &index_stream_end.
     212/// The latter is used to free the Record groups from each index_stream
     213/// before freeing the index_stream itself.
    217214static void
    218215index_tree_end(index_tree *tree, const lzma_allocator *allocator,
    219216                void (*free_func)(void *node, const lzma_allocator *allocator))
    220217{
     218        assert(free_func != NULL);
     219
    221220        if (tree->root != NULL)
    222221                index_tree_node_end(tree->root, allocator, free_func);
     
    372371{
    373372        index_stream *s = node;
    374         index_tree_end(&s->groups, allocator, NULL);
     373        index_tree_end(&s->groups, allocator, &lzma_free);
     374        lzma_free(s, allocator);
    375375        return;
    376376}
     
    830830
    831831                        lzma_free(g, allocator);
     832
     833                        // NOTE: newg isn't leaked here because
     834                        // newg == (void *)&newg->node.
    832835                }
    833836        }
     
    870873                        src->node.uncompressed_base, src->number,
    871874                        src->block_number_base, allocator);
    872 
    873         // Return immediately if allocation failed or if there are
    874         // no groups to duplicate.
    875         if (dest == NULL || src->groups.leftmost == NULL)
    876                 return dest;
     875        if (dest == NULL)
     876                return NULL;
    877877
    878878        // Copy the overall information.
     
    881881        dest->stream_flags = src->stream_flags;
    882882        dest->stream_padding = src->stream_padding;
     883
     884        // Return if there are no groups to duplicate.
     885        if (src->groups.leftmost == NULL)
     886                return dest;
    883887
    884888        // Allocate memory for the Records. We put all the Records into
  • TabularUnified xz/vendor/current/src/liblzma/common/index_decoder.c

    r1791 r1993  
    1515
    1616
    17 struct lzma_coder_s {
     17typedef struct {
    1818        enum {
    1919                SEQ_INDICATOR,
     
    5151        /// CRC32 of the List of Records field
    5252        uint32_t crc32;
    53 };
     53} lzma_index_coder;
    5454
    5555
    5656static lzma_ret
    57 index_decode(lzma_coder *coder, const lzma_allocator *allocator,
     57index_decode(void *coder_ptr, const lzma_allocator *allocator,
    5858                const uint8_t *restrict in, size_t *restrict in_pos,
    5959                size_t in_size,
     
    6363                lzma_action action lzma_attribute((__unused__)))
    6464{
     65        lzma_index_coder *coder = coder_ptr;
     66
    6567        // Similar optimization as in index_encoder.c
    6668        const size_t in_start = *in_pos;
     
    208210
    209211static void
    210 index_decoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    211 {
     212index_decoder_end(void *coder_ptr, const lzma_allocator *allocator)
     213{
     214        lzma_index_coder *coder = coder_ptr;
    212215        lzma_index_end(coder->index, allocator);
    213216        lzma_free(coder, allocator);
     
    217220
    218221static lzma_ret
    219 index_decoder_memconfig(lzma_coder *coder, uint64_t *memusage,
     222index_decoder_memconfig(void *coder_ptr, uint64_t *memusage,
    220223                uint64_t *old_memlimit, uint64_t new_memlimit)
    221224{
     225        lzma_index_coder *coder = coder_ptr;
     226
    222227        *memusage = lzma_index_memusage(1, coder->count);
    223228        *old_memlimit = coder->memlimit;
     
    235240
    236241static lzma_ret
    237 index_decoder_reset(lzma_coder *coder, const lzma_allocator *allocator,
     242index_decoder_reset(lzma_index_coder *coder, const lzma_allocator *allocator,
    238243                lzma_index **i, uint64_t memlimit)
    239244{
     
    270275                return LZMA_PROG_ERROR;
    271276
    272         if (next->coder == NULL) {
    273                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    274                 if (next->coder == NULL)
     277        lzma_index_coder *coder = next->coder;
     278        if (coder == NULL) {
     279                coder = lzma_alloc(sizeof(lzma_index_coder), allocator);
     280                if (coder == NULL)
    275281                        return LZMA_MEM_ERROR;
    276282
     283                next->coder = coder;
    277284                next->code = &index_decode;
    278285                next->end = &index_decoder_end;
    279286                next->memconfig = &index_decoder_memconfig;
    280                 next->coder->index = NULL;
     287                coder->index = NULL;
    281288        } else {
    282                 lzma_index_end(next->coder->index, allocator);
    283         }
    284 
    285         return index_decoder_reset(next->coder, allocator, i, memlimit);
     289                lzma_index_end(coder->index, allocator);
     290        }
     291
     292        return index_decoder_reset(coder, allocator, i, memlimit);
    286293}
    287294
     
    310317
    311318        // Initialize the decoder.
    312         lzma_coder coder;
     319        lzma_index_coder coder;
    313320        return_if_error(index_decoder_reset(&coder, allocator, i, *memlimit));
    314321
  • TabularUnified xz/vendor/current/src/liblzma/common/index_encoder.c

    r1791 r1993  
    1616
    1717
    18 struct lzma_coder_s {
     18typedef struct {
    1919        enum {
    2020                SEQ_INDICATOR,
     
    3838        /// CRC32 of the List of Records field
    3939        uint32_t crc32;
    40 };
     40} lzma_index_coder;
    4141
    4242
    4343static lzma_ret
    44 index_encode(lzma_coder *coder,
     44index_encode(void *coder_ptr,
    4545                const lzma_allocator *allocator lzma_attribute((__unused__)),
    4646                const uint8_t *restrict in lzma_attribute((__unused__)),
     
    5151                lzma_action action lzma_attribute((__unused__)))
    5252{
     53        lzma_index_coder *coder = coder_ptr;
     54
    5355        // Position where to start calculating CRC32. The idea is that we
    5456        // need to call lzma_crc32() only once per call to index_encode().
     
    160162
    161163static void
    162 index_encoder_end(lzma_coder *coder, const lzma_allocator *allocator)
     164index_encoder_end(void *coder, const lzma_allocator *allocator)
    163165{
    164166        lzma_free(coder, allocator);
     
    168170
    169171static void
    170 index_encoder_reset(lzma_coder *coder, const lzma_index *i)
     172index_encoder_reset(lzma_index_coder *coder, const lzma_index *i)
    171173{
    172174        lzma_index_iter_init(&coder->iter, i);
     
    191193
    192194        if (next->coder == NULL) {
    193                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
     195                next->coder = lzma_alloc(sizeof(lzma_index_coder), allocator);
    194196                if (next->coder == NULL)
    195197                        return LZMA_MEM_ERROR;
     
    231233        // The Index encoder needs just one small data structure so we can
    232234        // allocate it on stack.
    233         lzma_coder coder;
     235        lzma_index_coder coder;
    234236        index_encoder_reset(&coder, i);
    235237
  • TabularUnified xz/vendor/current/src/liblzma/common/stream_decoder.c

    r1791 r1993  
    1515
    1616
    17 struct lzma_coder_s {
     17typedef struct {
    1818        enum {
    1919                SEQ_STREAM_HEADER,
     
    8181        /// Block Header has biggest maximum size.
    8282        uint8_t buffer[LZMA_BLOCK_HEADER_SIZE_MAX];
    83 };
     83} lzma_stream_coder;
    8484
    8585
    8686static lzma_ret
    87 stream_decoder_reset(lzma_coder *coder, const lzma_allocator *allocator)
     87stream_decoder_reset(lzma_stream_coder *coder, const lzma_allocator *allocator)
    8888{
    8989        // Initialize the Index hash used to verify the Index.
     
    101101
    102102static lzma_ret
    103 stream_decode(lzma_coder *coder, const lzma_allocator *allocator,
     103stream_decode(void *coder_ptr, const lzma_allocator *allocator,
    104104                const uint8_t *restrict in, size_t *restrict in_pos,
    105105                size_t in_size, uint8_t *restrict out,
    106106                size_t *restrict out_pos, size_t out_size, lzma_action action)
    107107{
     108        lzma_stream_coder *coder = coder_ptr;
     109
    108110        // When decoding the actual Block, it may be able to produce more
    109111        // output even if we don't give it any new input.
     
    376378
    377379static void
    378 stream_decoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    379 {
     380stream_decoder_end(void *coder_ptr, const lzma_allocator *allocator)
     381{
     382        lzma_stream_coder *coder = coder_ptr;
    380383        lzma_next_end(&coder->block_decoder, allocator);
    381384        lzma_index_hash_end(coder->index_hash, allocator);
     
    386389
    387390static lzma_check
    388 stream_decoder_get_check(const lzma_coder *coder)
    389 {
     391stream_decoder_get_check(const void *coder_ptr)
     392{
     393        const lzma_stream_coder *coder = coder_ptr;
    390394        return coder->stream_flags.check;
    391395}
     
    393397
    394398static lzma_ret
    395 stream_decoder_memconfig(lzma_coder *coder, uint64_t *memusage,
     399stream_decoder_memconfig(void *coder_ptr, uint64_t *memusage,
    396400                uint64_t *old_memlimit, uint64_t new_memlimit)
    397401{
     402        lzma_stream_coder *coder = coder_ptr;
     403
    398404        *memusage = coder->memusage;
    399405        *old_memlimit = coder->memlimit;
     
    423429                return LZMA_OPTIONS_ERROR;
    424430
    425         if (next->coder == NULL) {
    426                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    427                 if (next->coder == NULL)
     431        lzma_stream_coder *coder = next->coder;
     432        if (coder == NULL) {
     433                coder = lzma_alloc(sizeof(lzma_stream_coder), allocator);
     434                if (coder == NULL)
    428435                        return LZMA_MEM_ERROR;
    429436
     437                next->coder = coder;
    430438                next->code = &stream_decode;
    431439                next->end = &stream_decoder_end;
     
    433441                next->memconfig = &stream_decoder_memconfig;
    434442
    435                 next->coder->block_decoder = LZMA_NEXT_CODER_INIT;
    436                 next->coder->index_hash = NULL;
    437         }
    438 
    439         next->coder->memlimit = memlimit;
    440         next->coder->memusage = LZMA_MEMUSAGE_BASE;
    441         next->coder->tell_no_check = (flags & LZMA_TELL_NO_CHECK) != 0;
    442         next->coder->tell_unsupported_check
     443                coder->block_decoder = LZMA_NEXT_CODER_INIT;
     444                coder->index_hash = NULL;
     445        }
     446
     447        coder->memlimit = memlimit;
     448        coder->memusage = LZMA_MEMUSAGE_BASE;
     449        coder->tell_no_check = (flags & LZMA_TELL_NO_CHECK) != 0;
     450        coder->tell_unsupported_check
    443451                        = (flags & LZMA_TELL_UNSUPPORTED_CHECK) != 0;
    444         next->coder->tell_any_check = (flags & LZMA_TELL_ANY_CHECK) != 0;
    445         next->coder->ignore_check = (flags & LZMA_IGNORE_CHECK) != 0;
    446         next->coder->concatenated = (flags & LZMA_CONCATENATED) != 0;
    447         next->coder->first_stream = true;
    448 
    449         return stream_decoder_reset(next->coder, allocator);
     452        coder->tell_any_check = (flags & LZMA_TELL_ANY_CHECK) != 0;
     453        coder->ignore_check = (flags & LZMA_IGNORE_CHECK) != 0;
     454        coder->concatenated = (flags & LZMA_CONCATENATED) != 0;
     455        coder->first_stream = true;
     456
     457        return stream_decoder_reset(coder, allocator);
    450458}
    451459
  • TabularUnified xz/vendor/current/src/liblzma/common/stream_encoder.c

    r1791 r1993  
    1515
    1616
    17 struct lzma_coder_s {
     17typedef struct {
    1818        enum {
    1919                SEQ_STREAM_HEADER,
     
    5656        /// Block Header has biggest maximum size.
    5757        uint8_t buffer[LZMA_BLOCK_HEADER_SIZE_MAX];
    58 };
     58} lzma_stream_coder;
    5959
    6060
    6161static lzma_ret
    62 block_encoder_init(lzma_coder *coder, const lzma_allocator *allocator)
     62block_encoder_init(lzma_stream_coder *coder, const lzma_allocator *allocator)
    6363{
    6464        // Prepare the Block options. Even though Block encoder doesn't need
     
    7979
    8080static lzma_ret
    81 stream_encode(lzma_coder *coder, const lzma_allocator *allocator,
     81stream_encode(void *coder_ptr, const lzma_allocator *allocator,
    8282                const uint8_t *restrict in, size_t *restrict in_pos,
    8383                size_t in_size, uint8_t *restrict out,
    8484                size_t *restrict out_pos, size_t out_size, lzma_action action)
    8585{
     86        lzma_stream_coder *coder = coder_ptr;
     87
    8688        // Main loop
    8789        while (*out_pos < out_size)
     
    210212
    211213static void
    212 stream_encoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    213 {
     214stream_encoder_end(void *coder_ptr, const lzma_allocator *allocator)
     215{
     216        lzma_stream_coder *coder = coder_ptr;
     217
    214218        lzma_next_end(&coder->block_encoder, allocator);
    215219        lzma_next_end(&coder->index_encoder, allocator);
     
    225229
    226230static lzma_ret
    227 stream_encoder_update(lzma_coder *coder, const lzma_allocator *allocator,
     231stream_encoder_update(void *coder_ptr, const lzma_allocator *allocator,
    228232                const lzma_filter *filters,
    229233                const lzma_filter *reversed_filters)
    230234{
     235        lzma_stream_coder *coder = coder_ptr;
     236
    231237        if (coder->sequence <= SEQ_BLOCK_INIT) {
    232238                // There is no incomplete Block waiting to be finished,
     
    272278                return LZMA_PROG_ERROR;
    273279
    274         if (next->coder == NULL) {
    275                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    276                 if (next->coder == NULL)
     280        lzma_stream_coder *coder = next->coder;
     281
     282        if (coder == NULL) {
     283                coder = lzma_alloc(sizeof(lzma_stream_coder), allocator);
     284                if (coder == NULL)
    277285                        return LZMA_MEM_ERROR;
    278286
     287                next->coder = coder;
    279288                next->code = &stream_encode;
    280289                next->end = &stream_encoder_end;
    281290                next->update = &stream_encoder_update;
    282291
    283                 next->coder->filters[0].id = LZMA_VLI_UNKNOWN;
    284                 next->coder->block_encoder = LZMA_NEXT_CODER_INIT;
    285                 next->coder->index_encoder = LZMA_NEXT_CODER_INIT;
    286                 next->coder->index = NULL;
     292                coder->filters[0].id = LZMA_VLI_UNKNOWN;
     293                coder->block_encoder = LZMA_NEXT_CODER_INIT;
     294                coder->index_encoder = LZMA_NEXT_CODER_INIT;
     295                coder->index = NULL;
    287296        }
    288297
    289298        // Basic initializations
    290         next->coder->sequence = SEQ_STREAM_HEADER;
    291         next->coder->block_options.version = 0;
    292         next->coder->block_options.check = check;
     299        coder->sequence = SEQ_STREAM_HEADER;
     300        coder->block_options.version = 0;
     301        coder->block_options.check = check;
    293302
    294303        // Initialize the Index
    295         lzma_index_end(next->coder->index, allocator);
    296         next->coder->index = lzma_index_init(allocator);
    297         if (next->coder->index == NULL)
     304        lzma_index_end(coder->index, allocator);
     305        coder->index = lzma_index_init(allocator);
     306        if (coder->index == NULL)
    298307                return LZMA_MEM_ERROR;
    299308
     
    304313        };
    305314        return_if_error(lzma_stream_header_encode(
    306                         &stream_flags, next->coder->buffer));
    307 
    308         next->coder->buffer_pos = 0;
    309         next->coder->buffer_size = LZMA_STREAM_HEADER_SIZE;
     315                        &stream_flags, coder->buffer));
     316
     317        coder->buffer_pos = 0;
     318        coder->buffer_size = LZMA_STREAM_HEADER_SIZE;
    310319
    311320        // Initialize the Block encoder. This way we detect unsupported
    312321        // filter chains when initializing the Stream encoder instead of
    313322        // giving an error after Stream Header has already written out.
    314         return stream_encoder_update(
    315                         next->coder, allocator, filters, NULL);
     323        return stream_encoder_update(coder, allocator, filters, NULL);
    316324}
    317325
  • TabularUnified xz/vendor/current/src/liblzma/common/stream_encoder_mt.c

    r1791 r1993  
    4545} worker_state;
    4646
     47typedef struct lzma_stream_coder_s lzma_stream_coder;
    4748
    4849typedef struct worker_thread_s worker_thread;
     
    6667        /// Pointer to the main structure is needed when putting this
    6768        /// thread back to the stack of free threads.
    68         lzma_coder *coder;
     69        lzma_stream_coder *coder;
    6970
    7071        /// The allocator is set by the main thread. Since a copy of the
     
    9798
    9899
    99 struct lzma_coder_s {
     100struct lzma_stream_coder_s {
    100101        enum {
    101102                SEQ_STREAM_HEADER,
     
    418419/// Make the threads stop but not exit. Optionally wait for them to stop.
    419420static void
    420 threads_stop(lzma_coder *coder, bool wait_for_threads)
     421threads_stop(lzma_stream_coder *coder, bool wait_for_threads)
    421422{
    422423        // Tell the threads to stop.
     
    447448/// Wait until the threads have exited.
    448449static void
    449 threads_end(lzma_coder *coder, const lzma_allocator *allocator)
     450threads_end(lzma_stream_coder *coder, const lzma_allocator *allocator)
    450451{
    451452        for (uint32_t i = 0; i < coder->threads_initialized; ++i) {
     
    469470/// Initialize a new worker_thread structure and create a new thread.
    470471static lzma_ret
    471 initialize_new_thread(lzma_coder *coder, const lzma_allocator *allocator)
     472initialize_new_thread(lzma_stream_coder *coder,
     473                const lzma_allocator *allocator)
    472474{
    473475        worker_thread *thr = &coder->threads[coder->threads_initialized];
     
    511513
    512514static lzma_ret
    513 get_thread(lzma_coder *coder, const lzma_allocator *allocator)
     515get_thread(lzma_stream_coder *coder, const lzma_allocator *allocator)
    514516{
    515517        // If there are no free output subqueues, there is no
     
    549551
    550552static lzma_ret
    551 stream_encode_in(lzma_coder *coder, const lzma_allocator *allocator,
     553stream_encode_in(lzma_stream_coder *coder, const lzma_allocator *allocator,
    552554                const uint8_t *restrict in, size_t *restrict in_pos,
    553555                size_t in_size, lzma_action action)
     
    617619/// an optional timeout is reached.
    618620static bool
    619 wait_for_work(lzma_coder *coder, mythread_condtime *wait_abs,
     621wait_for_work(lzma_stream_coder *coder, mythread_condtime *wait_abs,
    620622                bool *has_blocked, bool has_input)
    621623{
     
    663665
    664666static lzma_ret
    665 stream_encode_mt(lzma_coder *coder, const lzma_allocator *allocator,
     667stream_encode_mt(void *coder_ptr, const lzma_allocator *allocator,
    666668                const uint8_t *restrict in, size_t *restrict in_pos,
    667669                size_t in_size, uint8_t *restrict out,
    668670                size_t *restrict out_pos, size_t out_size, lzma_action action)
    669671{
     672        lzma_stream_coder *coder = coder_ptr;
     673
    670674        switch (coder->sequence) {
    671675        case SEQ_STREAM_HEADER:
     
    835839
    836840static void
    837 stream_encoder_mt_end(lzma_coder *coder, const lzma_allocator *allocator)
    838 {
     841stream_encoder_mt_end(void *coder_ptr, const lzma_allocator *allocator)
     842{
     843        lzma_stream_coder *coder = coder_ptr;
     844
    839845        // Threads must be killed before the output queue can be freed.
    840846        threads_end(coder, allocator);
     
    908914
    909915static void
    910 get_progress(lzma_coder *coder, uint64_t *progress_in, uint64_t *progress_out)
    911 {
     916get_progress(void *coder_ptr, uint64_t *progress_in, uint64_t *progress_out)
     917{
     918        lzma_stream_coder *coder = coder_ptr;
     919
    912920        // Lock coder->mutex to prevent finishing threads from moving their
    913         // progress info from the worker_thread structure to lzma_coder.
     921        // progress info from the worker_thread structure to lzma_stream_coder.
    914922        mythread_sync(coder->mutex) {
    915923                *progress_in = coder->progress_in;
     
    963971
    964972        // Allocate and initialize the base structure if needed.
    965         if (next->coder == NULL) {
    966                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    967                 if (next->coder == NULL)
     973        lzma_stream_coder *coder = next->coder;
     974        if (coder == NULL) {
     975                coder = lzma_alloc(sizeof(lzma_stream_coder), allocator);
     976                if (coder == NULL)
    968977                        return LZMA_MEM_ERROR;
     978
     979                next->coder = coder;
    969980
    970981                // For the mutex and condition variable initializations
     
    972983                // stream_encoder_mt_end() doesn't know if they have
    973984                // already been initialized or not.
    974                 if (mythread_mutex_init(&next->coder->mutex)) {
    975                         lzma_free(next->coder, allocator);
     985                if (mythread_mutex_init(&coder->mutex)) {
     986                        lzma_free(coder, allocator);
    976987                        next->coder = NULL;
    977988                        return LZMA_MEM_ERROR;
    978989                }
    979990
    980                 if (mythread_cond_init(&next->coder->cond)) {
    981                         mythread_mutex_destroy(&next->coder->mutex);
    982                         lzma_free(next->coder, allocator);
     991                if (mythread_cond_init(&coder->cond)) {
     992                        mythread_mutex_destroy(&coder->mutex);
     993                        lzma_free(coder, allocator);
    983994                        next->coder = NULL;
    984995                        return LZMA_MEM_ERROR;
     
    9901001//              next->update = &stream_encoder_mt_update;
    9911002
    992                 next->coder->filters[0].id = LZMA_VLI_UNKNOWN;
    993                 next->coder->index_encoder = LZMA_NEXT_CODER_INIT;
    994                 next->coder->index = NULL;
    995                 memzero(&next->coder->outq, sizeof(next->coder->outq));
    996                 next->coder->threads = NULL;
    997                 next->coder->threads_max = 0;
    998                 next->coder->threads_initialized = 0;
     1003                coder->filters[0].id = LZMA_VLI_UNKNOWN;
     1004                coder->index_encoder = LZMA_NEXT_CODER_INIT;
     1005                coder->index = NULL;
     1006                memzero(&coder->outq, sizeof(coder->outq));
     1007                coder->threads = NULL;
     1008                coder->threads_max = 0;
     1009                coder->threads_initialized = 0;
    9991010        }
    10001011
    10011012        // Basic initializations
    1002         next->coder->sequence = SEQ_STREAM_HEADER;
    1003         next->coder->block_size = (size_t)(block_size);
    1004         next->coder->thread_error = LZMA_OK;
    1005         next->coder->thr = NULL;
     1013        coder->sequence = SEQ_STREAM_HEADER;
     1014        coder->block_size = (size_t)(block_size);
     1015        coder->thread_error = LZMA_OK;
     1016        coder->thr = NULL;
    10061017
    10071018        // Allocate the thread-specific base structures.
    10081019        assert(options->threads > 0);
    1009         if (next->coder->threads_max != options->threads) {
    1010                 threads_end(next->coder, allocator);
    1011 
    1012                 next->coder->threads = NULL;
    1013                 next->coder->threads_max = 0;
    1014 
    1015                 next->coder->threads_initialized = 0;
    1016                 next->coder->threads_free = NULL;
    1017 
    1018                 next->coder->threads = lzma_alloc(
     1020        if (coder->threads_max != options->threads) {
     1021                threads_end(coder, allocator);
     1022
     1023                coder->threads = NULL;
     1024                coder->threads_max = 0;
     1025
     1026                coder->threads_initialized = 0;
     1027                coder->threads_free = NULL;
     1028
     1029                coder->threads = lzma_alloc(
    10191030                                options->threads * sizeof(worker_thread),
    10201031                                allocator);
    1021                 if (next->coder->threads == NULL)
     1032                if (coder->threads == NULL)
    10221033                        return LZMA_MEM_ERROR;
    10231034
    1024                 next->coder->threads_max = options->threads;
     1035                coder->threads_max = options->threads;
    10251036        } else {
    10261037                // Reuse the old structures and threads. Tell the running
    10271038                // threads to stop and wait until they have stopped.
    1028                 threads_stop(next->coder, true);
     1039                threads_stop(coder, true);
    10291040        }
    10301041
    10311042        // Output queue
    1032         return_if_error(lzma_outq_init(&next->coder->outq, allocator,
     1043        return_if_error(lzma_outq_init(&coder->outq, allocator,
    10331044                        outbuf_size_max, options->threads));
    10341045
    10351046        // Timeout
    1036         next->coder->timeout = options->timeout;
     1047        coder->timeout = options->timeout;
    10371048
    10381049        // Free the old filter chain and copy the new one.
    1039         for (size_t i = 0; next->coder->filters[i].id != LZMA_VLI_UNKNOWN; ++i)
    1040                 lzma_free(next->coder->filters[i].options, allocator);
     1050        for (size_t i = 0; coder->filters[i].id != LZMA_VLI_UNKNOWN; ++i)
     1051                lzma_free(coder->filters[i].options, allocator);
    10411052
    10421053        return_if_error(lzma_filters_copy(
    1043                         filters, next->coder->filters, allocator));
     1054                        filters, coder->filters, allocator));
    10441055
    10451056        // Index
    1046         lzma_index_end(next->coder->index, allocator);
    1047         next->coder->index = lzma_index_init(allocator);
    1048         if (next->coder->index == NULL)
     1057        lzma_index_end(coder->index, allocator);
     1058        coder->index = lzma_index_init(allocator);
     1059        if (coder->index == NULL)
    10491060                return LZMA_MEM_ERROR;
    10501061
    10511062        // Stream Header
    1052         next->coder->stream_flags.version = 0;
    1053         next->coder->stream_flags.check = options->check;
     1063        coder->stream_flags.version = 0;
     1064        coder->stream_flags.check = options->check;
    10541065        return_if_error(lzma_stream_header_encode(
    1055                         &next->coder->stream_flags, next->coder->header));
    1056 
    1057         next->coder->header_pos = 0;
     1066                        &coder->stream_flags, coder->header));
     1067
     1068        coder->header_pos = 0;
    10581069
    10591070        // Progress info
    1060         next->coder->progress_in = 0;
    1061         next->coder->progress_out = LZMA_STREAM_HEADER_SIZE;
     1071        coder->progress_in = 0;
     1072        coder->progress_out = LZMA_STREAM_HEADER_SIZE;
    10621073
    10631074        return LZMA_OK;
     
    11121123
    11131124        // Sum them with overflow checking.
    1114         uint64_t total_memusage = LZMA_MEMUSAGE_BASE + sizeof(lzma_coder)
     1125        uint64_t total_memusage = LZMA_MEMUSAGE_BASE
     1126                        + sizeof(lzma_stream_coder)
    11151127                        + options->threads * sizeof(worker_thread);
    11161128
  • TabularUnified xz/vendor/current/src/liblzma/delta/delta_common.c

    r1791 r1993  
    1616
    1717static void
    18 delta_coder_end(lzma_coder *coder, const lzma_allocator *allocator)
     18delta_coder_end(void *coder_ptr, const lzma_allocator *allocator)
    1919{
     20        lzma_delta_coder *coder = coder_ptr;
    2021        lzma_next_end(&coder->next, allocator);
    2122        lzma_free(coder, allocator);
     
    2930{
    3031        // Allocate memory for the decoder if needed.
    31         if (next->coder == NULL) {
    32                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    33                 if (next->coder == NULL)
     32        lzma_delta_coder *coder = next->coder;
     33        if (coder == NULL) {
     34                coder = lzma_alloc(sizeof(lzma_delta_coder), allocator);
     35                if (coder == NULL)
    3436                        return LZMA_MEM_ERROR;
     37
     38                next->coder = coder;
    3539
    3640                // End function is the same for encoder and decoder.
    3741                next->end = &delta_coder_end;
    38                 next->coder->next = LZMA_NEXT_CODER_INIT;
     42                coder->next = LZMA_NEXT_CODER_INIT;
    3943        }
    4044
     
    4549        // Set the delta distance.
    4650        const lzma_options_delta *opt = filters[0].options;
    47         next->coder->distance = opt->dist;
     51        coder->distance = opt->dist;
    4852
    4953        // Initialize the rest of the variables.
    50         next->coder->pos = 0;
    51         memzero(next->coder->history, LZMA_DELTA_DIST_MAX);
     54        coder->pos = 0;
     55        memzero(coder->history, LZMA_DELTA_DIST_MAX);
    5256
    5357        // Initialize the next decoder in the chain, if any.
    54         return lzma_next_filter_init(&next->coder->next,
    55                         allocator, filters + 1);
     58        return lzma_next_filter_init(&coder->next, allocator, filters + 1);
    5659}
    5760
     
    6770                return UINT64_MAX;
    6871
    69         return sizeof(lzma_coder);
     72        return sizeof(lzma_delta_coder);
    7073}
  • TabularUnified xz/vendor/current/src/liblzma/delta/delta_decoder.c

    r1791 r1993  
    1616
    1717static void
    18 decode_buffer(lzma_coder *coder, uint8_t *buffer, size_t size)
     18decode_buffer(lzma_delta_coder *coder, uint8_t *buffer, size_t size)
    1919{
    2020        const size_t distance = coder->distance;
     
    2828
    2929static lzma_ret
    30 delta_decode(lzma_coder *coder, const lzma_allocator *allocator,
     30delta_decode(void *coder_ptr, const lzma_allocator *allocator,
    3131                const uint8_t *restrict in, size_t *restrict in_pos,
    3232                size_t in_size, uint8_t *restrict out,
    3333                size_t *restrict out_pos, size_t out_size, lzma_action action)
    3434{
     35        lzma_delta_coder *coder = coder_ptr;
     36
    3537        assert(coder->next.code != NULL);
    3638
  • TabularUnified xz/vendor/current/src/liblzma/delta/delta_encoder.c

    r1791 r1993  
    1919/// encoder's filter stack).
    2020static void
    21 copy_and_encode(lzma_coder *coder,
     21copy_and_encode(lzma_delta_coder *coder,
    2222                const uint8_t *restrict in, uint8_t *restrict out, size_t size)
    2323{
     
    3636/// in the chain (and thus non-last filter in the encoder's filter stack).
    3737static void
    38 encode_in_place(lzma_coder *coder, uint8_t *buffer, size_t size)
     38encode_in_place(lzma_delta_coder *coder, uint8_t *buffer, size_t size)
    3939{
    4040        const size_t distance = coder->distance;
     
    5050
    5151static lzma_ret
    52 delta_encode(lzma_coder *coder, const lzma_allocator *allocator,
     52delta_encode(void *coder_ptr, const lzma_allocator *allocator,
    5353                const uint8_t *restrict in, size_t *restrict in_pos,
    5454                size_t in_size, uint8_t *restrict out,
    5555                size_t *restrict out_pos, size_t out_size, lzma_action action)
    5656{
     57        lzma_delta_coder *coder = coder_ptr;
     58
    5759        lzma_ret ret;
    5860
     
    8587
    8688static lzma_ret
    87 delta_encoder_update(lzma_coder *coder, const lzma_allocator *allocator,
     89delta_encoder_update(void *coder_ptr, const lzma_allocator *allocator,
    8890                const lzma_filter *filters_null lzma_attribute((__unused__)),
    8991                const lzma_filter *reversed_filters)
    9092{
     93        lzma_delta_coder *coder = coder_ptr;
     94
    9195        // Delta doesn't and will never support changing the options in
    9296        // the middle of encoding. If the app tries to change them, we
  • TabularUnified xz/vendor/current/src/liblzma/delta/delta_private.h

    r1791 r1993  
    1616#include "delta_common.h"
    1717
    18 struct lzma_coder_s {
     18typedef struct {
    1919        /// Next coder in the chain
    2020        lzma_next_coder next;
     
    2828        /// Buffer to hold history of the original data
    2929        uint8_t history[LZMA_DELTA_DIST_MAX];
    30 };
     30} lzma_delta_coder;
    3131
    3232
  • TabularUnified xz/vendor/current/src/liblzma/lz/lz_decoder.c

    r1791 r1993  
    2121
    2222
    23 struct lzma_coder_s {
     23typedef struct {
    2424        /// Dictionary (history buffer)
    2525        lzma_dict dict;
     
    4949                uint8_t buffer[LZMA_BUFFER_SIZE];
    5050        } temp;
    51 };
     51} lzma_coder;
    5252
    5353
     
    126126
    127127static lzma_ret
    128 lz_decode(lzma_coder *coder,
     128lz_decode(void *coder_ptr,
    129129                const lzma_allocator *allocator lzma_attribute((__unused__)),
    130130                const uint8_t *restrict in, size_t *restrict in_pos,
     
    133133                lzma_action action)
    134134{
     135        lzma_coder *coder = coder_ptr;
     136
    135137        if (coder->next.code == NULL)
    136138                return decode_buffer(coder, in, in_pos, in_size,
     
    185187
    186188static void
    187 lz_decoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    188 {
     189lz_decoder_end(void *coder_ptr, const lzma_allocator *allocator)
     190{
     191        lzma_coder *coder = coder_ptr;
     192
    189193        lzma_next_end(&coder->next, allocator);
    190194        lzma_free(coder->dict.buf, allocator);
     
    208212{
    209213        // Allocate the base structure if it isn't already allocated.
    210         if (next->coder == NULL) {
    211                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    212                 if (next->coder == NULL)
     214        lzma_coder *coder = next->coder;
     215        if (coder == NULL) {
     216                coder = lzma_alloc(sizeof(lzma_coder), allocator);
     217                if (coder == NULL)
    213218                        return LZMA_MEM_ERROR;
    214219
     220                next->coder = coder;
    215221                next->code = &lz_decode;
    216222                next->end = &lz_decoder_end;
    217223
    218                 next->coder->dict.buf = NULL;
    219                 next->coder->dict.size = 0;
    220                 next->coder->lz = LZMA_LZ_DECODER_INIT;
    221                 next->coder->next = LZMA_NEXT_CODER_INIT;
     224                coder->dict.buf = NULL;
     225                coder->dict.size = 0;
     226                coder->lz = LZMA_LZ_DECODER_INIT;
     227                coder->next = LZMA_NEXT_CODER_INIT;
    222228        }
    223229
     
    225231        // us the dictionary size.
    226232        lzma_lz_options lz_options;
    227         return_if_error(lz_init(&next->coder->lz, allocator,
     233        return_if_error(lz_init(&coder->lz, allocator,
    228234                        filters[0].options, &lz_options));
    229235
     
    249255
    250256        // Allocate and initialize the dictionary.
    251         if (next->coder->dict.size != lz_options.dict_size) {
    252                 lzma_free(next->coder->dict.buf, allocator);
    253                 next->coder->dict.buf
     257        if (coder->dict.size != lz_options.dict_size) {
     258                lzma_free(coder->dict.buf, allocator);
     259                coder->dict.buf
    254260                                = lzma_alloc(lz_options.dict_size, allocator);
    255                 if (next->coder->dict.buf == NULL)
     261                if (coder->dict.buf == NULL)
    256262                        return LZMA_MEM_ERROR;
    257263
    258                 next->coder->dict.size = lz_options.dict_size;
     264                coder->dict.size = lz_options.dict_size;
    259265        }
    260266
     
    269275                                lz_options.dict_size);
    270276                const size_t offset = lz_options.preset_dict_size - copy_size;
    271                 memcpy(next->coder->dict.buf, lz_options.preset_dict + offset,
     277                memcpy(coder->dict.buf, lz_options.preset_dict + offset,
    272278                                copy_size);
    273                 next->coder->dict.pos = copy_size;
    274                 next->coder->dict.full = copy_size;
     279                coder->dict.pos = copy_size;
     280                coder->dict.full = copy_size;
    275281        }
    276282
    277283        // Miscellaneous initializations
    278         next->coder->next_finished = false;
    279         next->coder->this_finished = false;
    280         next->coder->temp.pos = 0;
    281         next->coder->temp.size = 0;
     284        coder->next_finished = false;
     285        coder->this_finished = false;
     286        coder->temp.pos = 0;
     287        coder->temp.size = 0;
    282288
    283289        // Initialize the next filter in the chain, if any.
    284         return lzma_next_filter_init(&next->coder->next, allocator,
    285                         filters + 1);
     290        return lzma_next_filter_init(&coder->next, allocator, filters + 1);
    286291}
    287292
     
    295300
    296301extern void
    297 lzma_lz_decoder_uncompressed(lzma_coder *coder, lzma_vli uncompressed_size)
    298 {
     302lzma_lz_decoder_uncompressed(void *coder_ptr, lzma_vli uncompressed_size)
     303{
     304        lzma_coder *coder = coder_ptr;
    299305        coder->lz.set_uncompressed(coder->lz.coder, uncompressed_size);
    300306}
  • TabularUnified xz/vendor/current/src/liblzma/lz/lz_decoder.h

    r1791 r1993  
    5454typedef struct {
    5555        /// Data specific to the LZ-based decoder
    56         lzma_coder *coder;
     56        void *coder;
    5757
    5858        /// Function to decode from in[] to *dict
    59         lzma_ret (*code)(lzma_coder *restrict coder,
     59        lzma_ret (*code)(void *coder,
    6060                        lzma_dict *restrict dict, const uint8_t *restrict in,
    6161                        size_t *restrict in_pos, size_t in_size);
    6262
    63         void (*reset)(lzma_coder *coder, const void *options);
     63        void (*reset)(void *coder, const void *options);
    6464
    6565        /// Set the uncompressed size
    66         void (*set_uncompressed)(lzma_coder *coder,
    67                         lzma_vli uncompressed_size);
     66        void (*set_uncompressed)(void *coder, lzma_vli uncompressed_size);
    6867
    6968        /// Free allocated resources
    70         void (*end)(lzma_coder *coder, const lzma_allocator *allocator);
     69        void (*end)(void *coder, const lzma_allocator *allocator);
    7170
    7271} lzma_lz_decoder;
     
    9392
    9493extern void lzma_lz_decoder_uncompressed(
    95                 lzma_coder *coder, lzma_vli uncompressed_size);
     94                void *coder, lzma_vli uncompressed_size);
    9695
    9796
  • TabularUnified xz/vendor/current/src/liblzma/lz/lz_encoder.c

    r1791 r1993  
    2424
    2525
    26 struct lzma_coder_s {
     26typedef struct {
    2727        /// LZ-based encoder e.g. LZMA
    2828        lzma_lz_encoder lz;
     
    3333        /// Next coder in the chain
    3434        lzma_next_coder next;
    35 };
     35} lzma_coder;
    3636
    3737
     
    158158
    159159static lzma_ret
    160 lz_encode(lzma_coder *coder, const lzma_allocator *allocator,
     160lz_encode(void *coder_ptr, const lzma_allocator *allocator,
    161161                const uint8_t *restrict in, size_t *restrict in_pos,
    162162                size_t in_size,
     
    164164                size_t out_size, lzma_action action)
    165165{
     166        lzma_coder *coder = coder_ptr;
     167
    166168        while (*out_pos < out_size
    167169                        && (*in_pos < in_size || action != LZMA_RUN)) {
     
    482484
    483485static void
    484 lz_encoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    485 {
     486lz_encoder_end(void *coder_ptr, const lzma_allocator *allocator)
     487{
     488        lzma_coder *coder = coder_ptr;
     489
    486490        lzma_next_end(&coder->next, allocator);
    487491
     
    501505
    502506static lzma_ret
    503 lz_encoder_update(lzma_coder *coder, const lzma_allocator *allocator,
     507lz_encoder_update(void *coder_ptr, const lzma_allocator *allocator,
    504508                const lzma_filter *filters_null lzma_attribute((__unused__)),
    505509                const lzma_filter *reversed_filters)
    506510{
     511        lzma_coder *coder = coder_ptr;
     512
    507513        if (coder->lz.options_update == NULL)
    508514                return LZMA_PROG_ERROR;
     
    529535
    530536        // Allocate and initialize the base data structure.
    531         if (next->coder == NULL) {
    532                 next->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    533                 if (next->coder == NULL)
     537        lzma_coder *coder = next->coder;
     538        if (coder == NULL) {
     539                coder = lzma_alloc(sizeof(lzma_coder), allocator);
     540                if (coder == NULL)
    534541                        return LZMA_MEM_ERROR;
    535542
     543                next->coder = coder;
    536544                next->code = &lz_encode;
    537545                next->end = &lz_encoder_end;
    538546                next->update = &lz_encoder_update;
    539547
    540                 next->coder->lz.coder = NULL;
    541                 next->coder->lz.code = NULL;
    542                 next->coder->lz.end = NULL;
    543 
    544                 next->coder->mf.buffer = NULL;
    545                 next->coder->mf.hash = NULL;
    546                 next->coder->mf.son = NULL;
    547                 next->coder->mf.hash_count = 0;
    548                 next->coder->mf.sons_count = 0;
    549 
    550                 next->coder->next = LZMA_NEXT_CODER_INIT;
     548                coder->lz.coder = NULL;
     549                coder->lz.code = NULL;
     550                coder->lz.end = NULL;
     551
     552                // mf.size is initialized to silence Valgrind
     553                // when used on optimized binaries (GCC may reorder
     554                // code in a way that Valgrind gets unhappy).
     555                coder->mf.buffer = NULL;
     556                coder->mf.size = 0;
     557                coder->mf.hash = NULL;
     558                coder->mf.son = NULL;
     559                coder->mf.hash_count = 0;
     560                coder->mf.sons_count = 0;
     561
     562                coder->next = LZMA_NEXT_CODER_INIT;
    551563        }
    552564
    553565        // Initialize the LZ-based encoder.
    554566        lzma_lz_options lz_options;
    555         return_if_error(lz_init(&next->coder->lz, allocator,
     567        return_if_error(lz_init(&coder->lz, allocator,
    556568                        filters[0].options, &lz_options));
    557569
    558         // Setup the size information into next->coder->mf and deallocate
     570        // Setup the size information into coder->mf and deallocate
    559571        // old buffers if they have wrong size.
    560         if (lz_encoder_prepare(&next->coder->mf, allocator, &lz_options))
     572        if (lz_encoder_prepare(&coder->mf, allocator, &lz_options))
    561573                return LZMA_OPTIONS_ERROR;
    562574
    563575        // Allocate new buffers if needed, and do the rest of
    564576        // the initialization.
    565         if (lz_encoder_init(&next->coder->mf, allocator, &lz_options))
     577        if (lz_encoder_init(&coder->mf, allocator, &lz_options))
    566578                return LZMA_MEM_ERROR;
    567579
    568580        // Initialize the next filter in the chain, if any.
    569         return lzma_next_filter_init(&next->coder->next, allocator,
    570                         filters + 1);
     581        return lzma_next_filter_init(&coder->next, allocator, filters + 1);
    571582}
    572583
  • TabularUnified xz/vendor/current/src/liblzma/lz/lz_encoder.h

    r1791 r1993  
    192192typedef struct {
    193193        /// Data specific to the LZ-based encoder
    194         lzma_coder *coder;
     194        void *coder;
    195195
    196196        /// Function to encode from *dict to out[]
    197         lzma_ret (*code)(lzma_coder *restrict coder,
     197        lzma_ret (*code)(void *coder,
    198198                        lzma_mf *restrict mf, uint8_t *restrict out,
    199199                        size_t *restrict out_pos, size_t out_size);
    200200
    201201        /// Free allocated resources
    202         void (*end)(lzma_coder *coder, const lzma_allocator *allocator);
     202        void (*end)(void *coder, const lzma_allocator *allocator);
    203203
    204204        /// Update the options in the middle of the encoding.
    205         lzma_ret (*options_update)(lzma_coder *coder,
    206                         const lzma_filter *filter);
     205        lzma_ret (*options_update)(void *coder, const lzma_filter *filter);
    207206
    208207} lzma_lz_encoder;
  • TabularUnified xz/vendor/current/src/liblzma/lzma/Makefile.inc

    r122 r1993  
    1010liblzma_la_SOURCES += lzma/lzma_common.h
    1111
     12if COND_FILTER_LZMA1
     13liblzma_la_SOURCES += \
     14        lzma/lzma_encoder_presets.c
     15endif
     16
    1217if COND_ENCODER_LZMA1
    1318liblzma_la_SOURCES += \
     
    1520        lzma/lzma_encoder.h \
    1621        lzma/lzma_encoder.c \
    17         lzma/lzma_encoder_presets.c \
    1822        lzma/lzma_encoder_private.h \
    1923        lzma/lzma_encoder_optimum_fast.c \
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma2_decoder.c

    r1791 r1993  
    1717
    1818
    19 struct lzma_coder_s {
     19typedef struct {
    2020        enum sequence {
    2121                SEQ_CONTROL,
     
    5151
    5252        lzma_options_lzma options;
    53 };
     53} lzma_lzma2_coder;
    5454
    5555
    5656static lzma_ret
    57 lzma2_decode(lzma_coder *restrict coder, lzma_dict *restrict dict,
     57lzma2_decode(void *coder_ptr, lzma_dict *restrict dict,
    5858                const uint8_t *restrict in, size_t *restrict in_pos,
    5959                size_t in_size)
    6060{
     61        lzma_lzma2_coder *restrict coder = coder_ptr;
     62
    6163        // With SEQ_LZMA it is possible that no new input is needed to do
    6264        // some progress. The rest of the sequences assume that there is
     
    210212
    211213static void
    212 lzma2_decoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    213 {
     214lzma2_decoder_end(void *coder_ptr, const lzma_allocator *allocator)
     215{
     216        lzma_lzma2_coder *coder = coder_ptr;
     217
    214218        assert(coder->lzma.end == NULL);
    215219        lzma_free(coder->lzma.coder, allocator);
     
    225229                const void *opt, lzma_lz_options *lz_options)
    226230{
    227         if (lz->coder == NULL) {
    228                 lz->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    229                 if (lz->coder == NULL)
     231        lzma_lzma2_coder *coder = lz->coder;
     232        if (coder == NULL) {
     233                coder = lzma_alloc(sizeof(lzma_lzma2_coder), allocator);
     234                if (coder == NULL)
    230235                        return LZMA_MEM_ERROR;
    231236
     237                lz->coder = coder;
    232238                lz->code = &lzma2_decode;
    233239                lz->end = &lzma2_decoder_end;
    234240
    235                 lz->coder->lzma = LZMA_LZ_DECODER_INIT;
     241                coder->lzma = LZMA_LZ_DECODER_INIT;
    236242        }
    237243
    238244        const lzma_options_lzma *options = opt;
    239245
    240         lz->coder->sequence = SEQ_CONTROL;
    241         lz->coder->need_properties = true;
    242         lz->coder->need_dictionary_reset = options->preset_dict == NULL
     246        coder->sequence = SEQ_CONTROL;
     247        coder->need_properties = true;
     248        coder->need_dictionary_reset = options->preset_dict == NULL
    243249                        || options->preset_dict_size == 0;
    244250
    245         return lzma_lzma_decoder_create(&lz->coder->lzma,
     251        return lzma_lzma_decoder_create(&coder->lzma,
    246252                        allocator, options, lz_options);
    247253}
     
    264270lzma_lzma2_decoder_memusage(const void *options)
    265271{
    266         return sizeof(lzma_coder)
     272        return sizeof(lzma_lzma2_coder)
    267273                        + lzma_lzma_decoder_memusage_nocheck(options);
    268274}
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma2_encoder.c

    r1791 r1993  
    1818
    1919
    20 struct lzma_coder_s {
     20typedef struct {
    2121        enum {
    2222                SEQ_INIT,
     
    2828
    2929        /// LZMA encoder
    30         lzma_coder *lzma;
     30        void *lzma;
    3131
    3232        /// LZMA options currently in use.
     
    4949        /// Buffer to hold the chunk header and LZMA compressed data
    5050        uint8_t buf[LZMA2_HEADER_MAX + LZMA2_CHUNK_MAX];
    51 };
     51} lzma_lzma2_coder;
    5252
    5353
    5454static void
    55 lzma2_header_lzma(lzma_coder *coder)
     55lzma2_header_lzma(lzma_lzma2_coder *coder)
    5656{
    5757        assert(coder->uncompressed_size > 0);
     
    109109
    110110static void
    111 lzma2_header_uncompressed(lzma_coder *coder)
     111lzma2_header_uncompressed(lzma_lzma2_coder *coder)
    112112{
    113113        assert(coder->uncompressed_size > 0);
     
    134134
    135135static lzma_ret
    136 lzma2_encode(lzma_coder *restrict coder, lzma_mf *restrict mf,
     136lzma2_encode(void *coder_ptr, lzma_mf *restrict mf,
    137137                uint8_t *restrict out, size_t *restrict out_pos,
    138138                size_t out_size)
    139139{
     140        lzma_lzma2_coder *restrict coder = coder_ptr;
     141
    140142        while (*out_pos < out_size)
    141143        switch (coder->sequence) {
     
    263265
    264266static void
    265 lzma2_encoder_end(lzma_coder *coder, const lzma_allocator *allocator)
    266 {
     267lzma2_encoder_end(void *coder_ptr, const lzma_allocator *allocator)
     268{
     269        lzma_lzma2_coder *coder = coder_ptr;
    267270        lzma_free(coder->lzma, allocator);
    268271        lzma_free(coder, allocator);
     
    272275
    273276static lzma_ret
    274 lzma2_encoder_options_update(lzma_coder *coder, const lzma_filter *filter)
    275 {
     277lzma2_encoder_options_update(void *coder_ptr, const lzma_filter *filter)
     278{
     279        lzma_lzma2_coder *coder = coder_ptr;
     280
    276281        // New options can be set only when there is no incomplete chunk.
    277282        // This is the case at the beginning of the raw stream and right
     
    311316                return LZMA_PROG_ERROR;
    312317
    313         if (lz->coder == NULL) {
    314                 lz->coder = lzma_alloc(sizeof(lzma_coder), allocator);
    315                 if (lz->coder == NULL)
     318        lzma_lzma2_coder *coder = lz->coder;
     319        if (coder == NULL) {
     320                coder = lzma_alloc(sizeof(lzma_lzma2_coder), allocator);
     321                if (coder == NULL)
    316322                        return LZMA_MEM_ERROR;
    317323
     324                lz->coder = coder;
    318325                lz->code = &lzma2_encode;
    319326                lz->end = &lzma2_encoder_end;
    320327                lz->options_update = &lzma2_encoder_options_update;
    321328
    322                 lz->coder->lzma = NULL;
     329                coder->lzma = NULL;
    323330        }
    324331
    325         lz->coder->opt_cur = *(const lzma_options_lzma *)(options);
    326 
    327         lz->coder->sequence = SEQ_INIT;
    328         lz->coder->need_properties = true;
    329         lz->coder->need_state_reset = false;
    330         lz->coder->need_dictionary_reset
    331                         = lz->coder->opt_cur.preset_dict == NULL
    332                         || lz->coder->opt_cur.preset_dict_size == 0;
     332        coder->opt_cur = *(const lzma_options_lzma *)(options);
     333
     334        coder->sequence = SEQ_INIT;
     335        coder->need_properties = true;
     336        coder->need_state_reset = false;
     337        coder->need_dictionary_reset
     338                        = coder->opt_cur.preset_dict == NULL
     339                        || coder->opt_cur.preset_dict_size == 0;
    333340
    334341        // Initialize LZMA encoder
    335         return_if_error(lzma_lzma_encoder_create(&lz->coder->lzma, allocator,
    336                         &lz->coder->opt_cur, lz_options));
     342        return_if_error(lzma_lzma_encoder_create(&coder->lzma, allocator,
     343                        &coder->opt_cur, lz_options));
    337344
    338345        // Make sure that we will always have enough history available in
     
    365372                return UINT64_MAX;
    366373
    367         return sizeof(lzma_coder) + lzma_mem;
     374        return sizeof(lzma_lzma2_coder) + lzma_mem;
    368375}
    369376
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma_decoder.c

    r1791 r1993  
    162162
    163163
    164 struct lzma_coder_s {
     164typedef struct {
    165165        ///////////////////
    166166        // Probabilities //
     
    278278        /// If decoding a match: length of the match.
    279279        uint32_t len;
    280 };
     280} lzma_lzma1_decoder;
    281281
    282282
    283283static lzma_ret
    284 lzma_decode(lzma_coder *restrict coder, lzma_dict *restrict dictptr,
     284lzma_decode(void *coder_ptr, lzma_dict *restrict dictptr,
    285285                const uint8_t *restrict in,
    286286                size_t *restrict in_pos, size_t in_size)
    287287{
     288        lzma_lzma1_decoder *restrict coder = coder_ptr;
     289
    288290        ////////////////////
    289291        // Initialization //
     
    841843
    842844static void
    843 lzma_decoder_uncompressed(lzma_coder *coder, lzma_vli uncompressed_size)
     845lzma_decoder_uncompressed(void *coder_ptr, lzma_vli uncompressed_size)
    844846{
     847        lzma_lzma1_decoder *coder = coder_ptr;
    845848        coder->uncompressed_size = uncompressed_size;
    846849}
    847850
    848 /*
    849 extern void
    850 lzma_lzma_decoder_uncompressed(void *coder_ptr, lzma_vli uncompressed_size)
     851
     852static void
     853lzma_decoder_reset(void *coder_ptr, const void *opt)
    851854{
    852         // This is hack.
    853         (*(lzma_coder **)(coder))->uncompressed_size = uncompressed_size;
    854 }
    855 */
    856 
    857 static void
    858 lzma_decoder_reset(lzma_coder *coder, const void *opt)
    859 {
     855        lzma_lzma1_decoder *coder = coder_ptr;
    860856        const lzma_options_lzma *options = opt;
    861857
     
    942938{
    943939        if (lz->coder == NULL) {
    944                 lz->coder = lzma_alloc(sizeof(lzma_coder), allocator);
     940                lz->coder = lzma_alloc(sizeof(lzma_lzma1_decoder), allocator);
    945941                if (lz->coder == NULL)
    946942                        return LZMA_MEM_ERROR;
     
    10151011{
    10161012        const lzma_options_lzma *const opt = options;
    1017         return sizeof(lzma_coder) + lzma_lz_decoder_memusage(opt->dict_size);
     1013        return sizeof(lzma_lzma1_decoder)
     1014                        + lzma_lz_decoder_memusage(opt->dict_size);
    10181015}
    10191016
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma_encoder.c

    r1791 r1993  
    4444
    4545static inline void
    46 literal(lzma_coder *coder, lzma_mf *mf, uint32_t position)
     46literal(lzma_lzma1_encoder *coder, lzma_mf *mf, uint32_t position)
    4747{
    4848        // Locate the literal byte to be encoded and the subcoder.
     
    141141
    142142static inline void
    143 match(lzma_coder *coder, const uint32_t pos_state,
     143match(lzma_lzma1_encoder *coder, const uint32_t pos_state,
    144144                const uint32_t distance, const uint32_t len)
    145145{
     
    188188
    189189static inline void
    190 rep_match(lzma_coder *coder, const uint32_t pos_state,
     190rep_match(lzma_lzma1_encoder *coder, const uint32_t pos_state,
    191191                const uint32_t rep, const uint32_t len)
    192192{
     
    232232
    233233static void
    234 encode_symbol(lzma_coder *coder, lzma_mf *mf,
     234encode_symbol(lzma_lzma1_encoder *coder, lzma_mf *mf,
    235235                uint32_t back, uint32_t len, uint32_t position)
    236236{
     
    266266
    267267static bool
    268 encode_init(lzma_coder *coder, lzma_mf *mf)
     268encode_init(lzma_lzma1_encoder *coder, lzma_mf *mf)
    269269{
    270270        assert(mf_position(mf) == 0);
     
    294294
    295295static void
    296 encode_eopm(lzma_coder *coder, uint32_t position)
     296encode_eopm(lzma_lzma1_encoder *coder, uint32_t position)
    297297{
    298298        const uint32_t pos_state = position & coder->pos_mask;
     
    310310
    311311extern lzma_ret
    312 lzma_lzma_encode(lzma_coder *restrict coder, lzma_mf *restrict mf,
     312lzma_lzma_encode(lzma_lzma1_encoder *restrict coder, lzma_mf *restrict mf,
    313313                uint8_t *restrict out, size_t *restrict out_pos,
    314314                size_t out_size, uint32_t limit)
     
    403403
    404404static lzma_ret
    405 lzma_encode(lzma_coder *restrict coder, lzma_mf *restrict mf,
     405lzma_encode(void *coder, lzma_mf *restrict mf,
    406406                uint8_t *restrict out, size_t *restrict out_pos,
    407407                size_t out_size)
     
    474474
    475475extern lzma_ret
    476 lzma_lzma_encoder_reset(lzma_coder *coder, const lzma_options_lzma *options)
     476lzma_lzma_encoder_reset(lzma_lzma1_encoder *coder,
     477                const lzma_options_lzma *options)
    477478{
    478479        if (!is_options_valid(options))
     
    546547
    547548extern lzma_ret
    548 lzma_lzma_encoder_create(lzma_coder **coder_ptr,
     549lzma_lzma_encoder_create(void **coder_ptr,
    549550                const lzma_allocator *allocator,
    550551                const lzma_options_lzma *options, lzma_lz_options *lz_options)
    551552{
    552         // Allocate lzma_coder if it wasn't already allocated.
     553        // Allocate lzma_lzma1_encoder if it wasn't already allocated.
    553554        if (*coder_ptr == NULL) {
    554                 *coder_ptr = lzma_alloc(sizeof(lzma_coder), allocator);
     555                *coder_ptr = lzma_alloc(sizeof(lzma_lzma1_encoder), allocator);
    555556                if (*coder_ptr == NULL)
    556557                        return LZMA_MEM_ERROR;
    557558        }
    558559
    559         lzma_coder *coder = *coder_ptr;
     560        lzma_lzma1_encoder *coder = *coder_ptr;
    560561
    561562        // Set compression mode. We haven't validates the options yet,
     
    637638                return UINT64_MAX;
    638639
    639         return (uint64_t)(sizeof(lzma_coder)) + lz_memusage;
     640        return (uint64_t)(sizeof(lzma_lzma1_encoder)) + lz_memusage;
    640641}
    641642
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma_encoder.h

    r1791 r1993  
    1616
    1717#include "common.h"
     18
     19
     20typedef struct lzma_lzma1_encoder_s lzma_lzma1_encoder;
    1821
    1922
     
    3740/// Initializes raw LZMA encoder; this is used by LZMA2.
    3841extern lzma_ret lzma_lzma_encoder_create(
    39                 lzma_coder **coder_ptr, const lzma_allocator *allocator,
     42                void **coder_ptr, const lzma_allocator *allocator,
    4043                const lzma_options_lzma *options, lzma_lz_options *lz_options);
    4144
     
    4346/// Resets an already initialized LZMA encoder; this is used by LZMA2.
    4447extern lzma_ret lzma_lzma_encoder_reset(
    45                 lzma_coder *coder, const lzma_options_lzma *options);
     48                lzma_lzma1_encoder *coder, const lzma_options_lzma *options);
    4649
    4750
    48 extern lzma_ret lzma_lzma_encode(lzma_coder *restrict coder,
     51extern lzma_ret lzma_lzma_encode(lzma_lzma1_encoder *restrict coder,
    4952                lzma_mf *restrict mf, uint8_t *restrict out,
    5053                size_t *restrict out_pos, size_t out_size,
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma_encoder_optimum_fast.c

    r1791 r1993  
    1919
    2020extern void
    21 lzma_lzma_optimum_fast(lzma_coder *restrict coder, lzma_mf *restrict mf,
     21lzma_lzma_optimum_fast(lzma_lzma1_encoder *restrict coder,
     22                lzma_mf *restrict mf,
    2223                uint32_t *restrict back_res, uint32_t *restrict len_res)
    2324{
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma_encoder_optimum_normal.c

    r1791 r1993  
    2020
    2121static uint32_t
    22 get_literal_price(const lzma_coder *const coder, const uint32_t pos,
     22get_literal_price(const lzma_lzma1_encoder *const coder, const uint32_t pos,
    2323                const uint32_t prev_byte, const bool match_mode,
    2424                uint32_t match_byte, uint32_t symbol)
     
    6666
    6767static inline uint32_t
    68 get_short_rep_price(const lzma_coder *const coder,
     68get_short_rep_price(const lzma_lzma1_encoder *const coder,
    6969                const lzma_lzma_state state, const uint32_t pos_state)
    7070{
     
    7575
    7676static inline uint32_t
    77 get_pure_rep_price(const lzma_coder *const coder, const uint32_t rep_index,
     77get_pure_rep_price(const lzma_lzma1_encoder *const coder, const uint32_t rep_index,
    7878                const lzma_lzma_state state, uint32_t pos_state)
    7979{
     
    100100
    101101static inline uint32_t
    102 get_rep_price(const lzma_coder *const coder, const uint32_t rep_index,
     102get_rep_price(const lzma_lzma1_encoder *const coder, const uint32_t rep_index,
    103103                const uint32_t len, const lzma_lzma_state state,
    104104                const uint32_t pos_state)
     
    110110
    111111static inline uint32_t
    112 get_dist_len_price(const lzma_coder *const coder, const uint32_t dist,
     112get_dist_len_price(const lzma_lzma1_encoder *const coder, const uint32_t dist,
    113113                const uint32_t len, const uint32_t pos_state)
    114114{
     
    131131
    132132static void
    133 fill_dist_prices(lzma_coder *coder)
     133fill_dist_prices(lzma_lzma1_encoder *coder)
    134134{
    135135        for (uint32_t dist_state = 0; dist_state < DIST_STATES; ++dist_state) {
     
    186186
    187187static void
    188 fill_align_prices(lzma_coder *coder)
     188fill_align_prices(lzma_lzma1_encoder *coder)
    189189{
    190190        for (uint32_t i = 0; i < ALIGN_SIZE; ++i)
     
    222222
    223223static void
    224 backward(lzma_coder *restrict coder, uint32_t *restrict len_res,
     224backward(lzma_lzma1_encoder *restrict coder, uint32_t *restrict len_res,
    225225                uint32_t *restrict back_res, uint32_t cur)
    226226{
     
    270270
    271271static inline uint32_t
    272 helper1(lzma_coder *restrict coder, lzma_mf *restrict mf,
     272helper1(lzma_lzma1_encoder *restrict coder, lzma_mf *restrict mf,
    273273                uint32_t *restrict back_res, uint32_t *restrict len_res,
    274274                uint32_t position)
     
    442442
    443443static inline uint32_t
    444 helper2(lzma_coder *coder, uint32_t *reps, const uint8_t *buf,
     444helper2(lzma_lzma1_encoder *coder, uint32_t *reps, const uint8_t *buf,
    445445                uint32_t len_end, uint32_t position, const uint32_t cur,
    446446                const uint32_t nice_len, const uint32_t buf_avail_full)
     
    798798
    799799extern void
    800 lzma_lzma_optimum_normal(lzma_coder *restrict coder, lzma_mf *restrict mf,
     800lzma_lzma_optimum_normal(lzma_lzma1_encoder *restrict coder,
     801                lzma_mf *restrict mf,
    801802                uint32_t *restrict back_res, uint32_t *restrict len_res,
    802803                uint32_t position)
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma_encoder_presets.c

    r1791 r1993  
    33/// \file       lzma_encoder_presets.c
    44/// \brief      Encoder presets
     5/// \note       xz needs this even when only decoding is enabled.
    56//
    67//  Author:     Lasse Collin
  • TabularUnified xz/vendor/current/src/liblzma/lzma/lzma_encoder_private.h

    r1791 r1993  
    7070
    7171
    72 struct lzma_coder_s {
     72struct lzma_lzma1_encoder_s {
    7373        /// Range encoder
    7474        lzma_range_encoder rc;
     
    139139
    140140extern void lzma_lzma_optimum_fast(
    141                 lzma_coder *restrict coder, lzma_mf *restrict mf,
     141                lzma_lzma1_encoder *restrict coder, lzma_mf *restrict mf,
    142142                uint32_t *restrict back_res, uint32_t *restrict len_res);
    143143
    144 extern void lzma_lzma_optimum_normal(lzma_coder *restrict coder,
     144extern void lzma_lzma_optimum_normal(lzma_lzma1_encoder *restrict coder,
    145145                lzma_mf *restrict mf, uint32_t *restrict back_res,
    146146                uint32_t *restrict len_res, uint32_t position);
  • TabularUnified xz/vendor/current/src/liblzma/simple/arm.c

    r1791 r1993  
    1616
    1717static size_t
    18 arm_code(lzma_simple *simple lzma_attribute((__unused__)),
     18arm_code(void *simple lzma_attribute((__unused__)),
    1919                uint32_t now_pos, bool is_encoder,
    2020                uint8_t *buffer, size_t size)
  • TabularUnified xz/vendor/current/src/liblzma/simple/armthumb.c

    r1791 r1993  
    1616
    1717static size_t
    18 armthumb_code(lzma_simple *simple lzma_attribute((__unused__)),
     18armthumb_code(void *simple lzma_attribute((__unused__)),
    1919                uint32_t now_pos, bool is_encoder,
    2020                uint8_t *buffer, size_t size)
  • TabularUnified xz/vendor/current/src/liblzma/simple/ia64.c

    r1791 r1993  
    1616
    1717static size_t
    18 ia64_code(lzma_simple *simple lzma_attribute((__unused__)),
     18ia64_code(void *simple lzma_attribute((__unused__)),
    1919                uint32_t now_pos, bool is_encoder,
    2020                uint8_t *buffer, size_t size)
  • TabularUnified xz/vendor/current/src/liblzma/simple/powerpc.c

    r1791 r1993  
    1616
    1717static size_t
    18 powerpc_code(lzma_simple *simple lzma_attribute((__unused__)),
     18powerpc_code(void *simple lzma_attribute((__unused__)),
    1919                uint32_t now_pos, bool is_encoder,
    2020                uint8_t *buffer, size_t size)
  • TabularUnified xz/vendor/current/src/liblzma/simple/simple_coder.c

    r1791 r1993  
    1919/// Copied or encodes/decodes more data to out[].
    2020static lzma_ret
    21 copy_or_code(lzma_coder *coder, const lzma_allocator *allocator,
     21copy_or_code(lzma_simple_coder *coder, const lzma_allocator *allocator,
    2222                const uint8_t *restrict in, size_t *restrict in_pos,
    2323                size_t in_size, uint8_t *restrict out,
     
    5656
    5757static size_t
    58 call_filter(lzma_coder *coder, uint8_t *buffer, size_t size)
     58call_filter(lzma_simple_coder *coder, uint8_t *buffer, size_t size)
    5959{
    6060        const size_t filtered = coder->filter(coder->simple,
     
    6767
    6868static lzma_ret
    69 simple_code(lzma_coder *coder, const lzma_allocator *allocator,
     69simple_code(void *coder_ptr, const lzma_allocator *allocator,
    7070                const uint8_t *restrict in, size_t *restrict in_pos,
    7171                size_t in_size, uint8_t *restrict out,
    7272                size_t *restrict out_pos, size_t out_size, lzma_action action)
    7373{
     74        lzma_simple_coder *coder = coder_ptr;
     75
    7476        // TODO: Add partial support for LZMA_SYNC_FLUSH. We can support it
    7577        // in cases when the filter is able to filter everything. With most
     
    199201
    200202static void
    201 simple_coder_end(lzma_coder *coder, const lzma_allocator *allocator)
    202 {
     203simple_coder_end(void *coder_ptr, const lzma_allocator *allocator)
     204{
     205        lzma_simple_coder *coder = coder_ptr;
    203206        lzma_next_end(&coder->next, allocator);
    204207        lzma_free(coder->simple, allocator);
     
    209212
    210213static lzma_ret
    211 simple_coder_update(lzma_coder *coder, const lzma_allocator *allocator,
     214simple_coder_update(void *coder_ptr, const lzma_allocator *allocator,
    212215                const lzma_filter *filters_null lzma_attribute((__unused__)),
    213216                const lzma_filter *reversed_filters)
    214217{
     218        lzma_simple_coder *coder = coder_ptr;
     219
    215220        // No update support, just call the next filter in the chain.
    216221        return lzma_next_filter_update(
     
    222227lzma_simple_coder_init(lzma_next_coder *next, const lzma_allocator *allocator,
    223228                const lzma_filter_info *filters,
    224                 size_t (*filter)(lzma_simple *simple, uint32_t now_pos,
     229                size_t (*filter)(void *simple, uint32_t now_pos,
    225230                        bool is_encoder, uint8_t *buffer, size_t size),
    226231                size_t simple_size, size_t unfiltered_max,
    227232                uint32_t alignment, bool is_encoder)
    228233{
    229         // Allocate memory for the lzma_coder structure if needed.
    230         if (next->coder == NULL) {
     234        // Allocate memory for the lzma_simple_coder structure if needed.
     235        lzma_simple_coder *coder = next->coder;
     236        if (coder == NULL) {
    231237                // Here we allocate space also for the temporary buffer. We
    232238                // need twice the size of unfiltered_max, because then it
    233239                // is always possible to filter at least unfiltered_max bytes
    234240                // more data in coder->buffer[] if it can be filled completely.
    235                 next->coder = lzma_alloc(sizeof(lzma_coder)
     241                coder = lzma_alloc(sizeof(lzma_simple_coder)
    236242                                + 2 * unfiltered_max, allocator);
    237                 if (next->coder == NULL)
     243                if (coder == NULL)
    238244                        return LZMA_MEM_ERROR;
    239245
     246                next->coder = coder;
    240247                next->code = &simple_code;
    241248                next->end = &simple_coder_end;
    242249                next->update = &simple_coder_update;
    243250
    244                 next->coder->next = LZMA_NEXT_CODER_INIT;
    245                 next->coder->filter = filter;
    246                 next->coder->allocated = 2 * unfiltered_max;
     251                coder->next = LZMA_NEXT_CODER_INIT;
     252                coder->filter = filter;
     253                coder->allocated = 2 * unfiltered_max;
    247254
    248255                // Allocate memory for filter-specific data structure.
    249256                if (simple_size > 0) {
    250                         next->coder->simple = lzma_alloc(
    251                                         simple_size, allocator);
    252                         if (next->coder->simple == NULL)
     257                        coder->simple = lzma_alloc(simple_size, allocator);
     258                        if (coder->simple == NULL)
    253259                                return LZMA_MEM_ERROR;
    254260                } else {
    255                         next->coder->simple = NULL;
     261                        coder->simple = NULL;
    256262                }
    257263        }
     
    259265        if (filters[0].options != NULL) {
    260266                const lzma_options_bcj *simple = filters[0].options;
    261                 next->coder->now_pos = simple->start_offset;
    262                 if (next->coder->now_pos & (alignment - 1))
     267                coder->now_pos = simple->start_offset;
     268                if (coder->now_pos & (alignment - 1))
    263269                        return LZMA_OPTIONS_ERROR;
    264270        } else {
    265                 next->coder->now_pos = 0;
     271                coder->now_pos = 0;
    266272        }
    267273
    268274        // Reset variables.
    269         next->coder->is_encoder = is_encoder;
    270         next->coder->end_was_reached = false;
    271         next->coder->pos = 0;
    272         next->coder->filtered = 0;
    273         next->coder->size = 0;
    274 
    275         return lzma_next_filter_init(
    276                         &next->coder->next, allocator, filters + 1);
    277 }
     275        coder->is_encoder = is_encoder;
     276        coder->end_was_reached = false;
     277        coder->pos = 0;
     278        coder->filtered = 0;
     279        coder->size = 0;
     280
     281        return lzma_next_filter_init(&coder->next, allocator, filters + 1);
     282}
  • TabularUnified xz/vendor/current/src/liblzma/simple/simple_private.h

    r1791 r1993  
    1717
    1818
    19 typedef struct lzma_simple_s lzma_simple;
    20 
    21 struct lzma_coder_s {
     19typedef struct {
    2220        /// Next filter in the chain
    2321        lzma_next_coder next;
     
    3432        /// Pointer to filter-specific function, which does
    3533        /// the actual filtering.
    36         size_t (*filter)(lzma_simple *simple, uint32_t now_pos,
     34        size_t (*filter)(void *simple, uint32_t now_pos,
    3735                        bool is_encoder, uint8_t *buffer, size_t size);
    3836
    3937        /// Pointer to filter-specific data, or NULL if filter doesn't need
    4038        /// any extra data.
    41         lzma_simple *simple;
     39        void *simple;
    4240
    4341        /// The lowest 32 bits of the current position in the data. Most
     
    6361        /// Temporary buffer
    6462        uint8_t buffer[];
    65 };
     63} lzma_simple_coder;
    6664
    6765
     
    6967                const lzma_allocator *allocator,
    7068                const lzma_filter_info *filters,
    71                 size_t (*filter)(lzma_simple *simple, uint32_t now_pos,
     69                size_t (*filter)(void *simple, uint32_t now_pos,
    7270                        bool is_encoder, uint8_t *buffer, size_t size),
    7371                size_t simple_size, size_t unfiltered_max,
  • TabularUnified xz/vendor/current/src/liblzma/simple/sparc.c

    r1791 r1993  
    1616
    1717static size_t
    18 sparc_code(lzma_simple *simple lzma_attribute((__unused__)),
     18sparc_code(void *simple lzma_attribute((__unused__)),
    1919                uint32_t now_pos, bool is_encoder,
    2020                uint8_t *buffer, size_t size)
  • TabularUnified xz/vendor/current/src/liblzma/simple/x86.c

    r1791 r1993  
    1818
    1919
    20 struct lzma_simple_s {
     20typedef struct {
    2121        uint32_t prev_mask;
    2222        uint32_t prev_pos;
    23 };
     23} lzma_simple_x86;
    2424
    2525
    2626static size_t
    27 x86_code(lzma_simple *simple, uint32_t now_pos, bool is_encoder,
     27x86_code(void *simple_ptr, uint32_t now_pos, bool is_encoder,
    2828                uint8_t *buffer, size_t size)
    2929{
     
    3434                        = { 0, 1, 2, 2, 3, 3, 3, 3 };
    3535
     36        lzma_simple_x86 *simple = simple_ptr;
    3637        uint32_t prev_mask = simple->prev_mask;
    3738        uint32_t prev_pos = simple->prev_pos;
     
    128129{
    129130        const lzma_ret ret = lzma_simple_coder_init(next, allocator, filters,
    130                         &x86_code, sizeof(lzma_simple), 5, 1, is_encoder);
     131                        &x86_code, sizeof(lzma_simple_x86), 5, 1, is_encoder);
    131132
    132133        if (ret == LZMA_OK) {
    133                 next->coder->simple->prev_mask = 0;
    134                 next->coder->simple->prev_pos = (uint32_t)(-5);
     134                lzma_simple_coder *coder = next->coder;
     135                lzma_simple_x86 *simple = coder->simple;
     136                simple->prev_mask = 0;
     137                simple->prev_pos = (uint32_t)(-5);
    135138        }
    136139
  • TabularUnified xz/vendor/current/src/lzmainfo/Makefile.in

    r1791 r1993  
    9494subdir = src/lzmainfo
    9595ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    96 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    97         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    98         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    99         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    100         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    101         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    102         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    103         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    104         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    105         $(top_srcdir)/m4/tuklib_common.m4 \
     96am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     97        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     98        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     99        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     100        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     101        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     102        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     103        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     104        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     105        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    106106        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    107107        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    236236AUTOMAKE = @AUTOMAKE@
    237237AWK = @AWK@
     238CAPSICUM_LIB = @CAPSICUM_LIB@
    238239CC = @CC@
    239240CCAS = @CCAS@
  • TabularUnified xz/vendor/current/src/scripts/Makefile.in

    r1791 r1993  
    100100subdir = src/scripts
    101101ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    102 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    103         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    104         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    105         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    106         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    107         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    108         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    109         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    110         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    111         $(top_srcdir)/m4/tuklib_common.m4 \
     102am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     103        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     104        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     105        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     106        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     107        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     108        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     109        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     110        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     111        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    112112        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    113113        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    189189AUTOMAKE = @AUTOMAKE@
    190190AWK = @AWK@
     191CAPSICUM_LIB = @CAPSICUM_LIB@
    191192CC = @CC@
    192193CCAS = @CCAS@
  • TabularUnified xz/vendor/current/src/xz/Makefile.am

    r1791 r1993  
    1717        hardware.c \
    1818        hardware.h \
    19         list.c \
    20         list.h \
    2119        main.c \
    2220        main.h \
     
    4038        ../common/tuklib_mbstr_fw.c
    4139
     40if COND_MAIN_DECODER
     41xz_SOURCES += \
     42        list.c \
     43        list.h
     44endif
     45
    4246if COND_W32
    4347xz_SOURCES += xz_w32res.rc
     
    5054        -I$(top_builddir)/lib
    5155
    52 xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la
     56xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la $(CAPSICUM_LIB)
    5357
    5458if COND_GNULIB
  • TabularUnified xz/vendor/current/src/xz/Makefile.in

    r1791 r1993  
    9090host_triplet = @host@
    9191bin_PROGRAMS = xz$(EXEEXT)
    92 @COND_W32_TRUE@am__append_1 = xz_w32res.rc
    93 @COND_GNULIB_TRUE@am__append_2 = $(top_builddir)/lib/libgnu.a
    94 @COND_LZMALINKS_TRUE@am__append_3 = lzma unlzma lzcat
     92@COND_MAIN_DECODER_TRUE@am__append_1 = \
     93@COND_MAIN_DECODER_TRUE@        list.c \
     94@COND_MAIN_DECODER_TRUE@        list.h
     95
     96@COND_W32_TRUE@am__append_2 = xz_w32res.rc
     97@COND_GNULIB_TRUE@am__append_3 = $(top_builddir)/lib/libgnu.a
     98@COND_LZMALINKS_TRUE@am__append_4 = lzma unlzma lzcat
    9599subdir = src/xz
    96100ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    97 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    98         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    99         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    100         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    101         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    102         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    103         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    104         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    105         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    106         $(top_srcdir)/m4/tuklib_common.m4 \
     101am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     102        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     103        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     104        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     105        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     106        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     107        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     108        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     109        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     110        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    107111        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    108112        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    121125PROGRAMS = $(bin_PROGRAMS)
    122126am__xz_SOURCES_DIST = args.c args.h coder.c coder.h file_io.c \
    123         file_io.h hardware.c hardware.h list.c list.h main.c main.h \
    124         message.c message.h mytime.c mytime.h options.c options.h \
    125         private.h signals.c signals.h suffix.c suffix.h util.c util.h \
     127        file_io.h hardware.c hardware.h main.c main.h message.c \
     128        message.h mytime.c mytime.h options.c options.h private.h \
     129        signals.c signals.h suffix.c suffix.h util.c util.h \
    126130        ../common/tuklib_open_stdxxx.c ../common/tuklib_progname.c \
    127131        ../common/tuklib_exit.c ../common/tuklib_mbstr_width.c \
    128         ../common/tuklib_mbstr_fw.c xz_w32res.rc
    129 @COND_W32_TRUE@am__objects_1 = xz_w32res.$(OBJEXT)
     132        ../common/tuklib_mbstr_fw.c list.c list.h xz_w32res.rc
     133@COND_MAIN_DECODER_TRUE@am__objects_1 = xz-list.$(OBJEXT)
     134@COND_W32_TRUE@am__objects_2 = xz_w32res.$(OBJEXT)
    130135am_xz_OBJECTS = xz-args.$(OBJEXT) xz-coder.$(OBJEXT) \
    131         xz-file_io.$(OBJEXT) xz-hardware.$(OBJEXT) xz-list.$(OBJEXT) \
    132         xz-main.$(OBJEXT) xz-message.$(OBJEXT) xz-mytime.$(OBJEXT) \
    133         xz-options.$(OBJEXT) xz-signals.$(OBJEXT) xz-suffix.$(OBJEXT) \
    134         xz-util.$(OBJEXT) xz-tuklib_open_stdxxx.$(OBJEXT) \
    135         xz-tuklib_progname.$(OBJEXT) xz-tuklib_exit.$(OBJEXT) \
    136         xz-tuklib_mbstr_width.$(OBJEXT) xz-tuklib_mbstr_fw.$(OBJEXT) \
    137         $(am__objects_1)
     136        xz-file_io.$(OBJEXT) xz-hardware.$(OBJEXT) xz-main.$(OBJEXT) \
     137        xz-message.$(OBJEXT) xz-mytime.$(OBJEXT) xz-options.$(OBJEXT) \
     138        xz-signals.$(OBJEXT) xz-suffix.$(OBJEXT) xz-util.$(OBJEXT) \
     139        xz-tuklib_open_stdxxx.$(OBJEXT) xz-tuklib_progname.$(OBJEXT) \
     140        xz-tuklib_exit.$(OBJEXT) xz-tuklib_mbstr_width.$(OBJEXT) \
     141        xz-tuklib_mbstr_fw.$(OBJEXT) $(am__objects_1) $(am__objects_2)
    138142xz_OBJECTS = $(am_xz_OBJECTS)
    139143am__DEPENDENCIES_1 =
    140144xz_DEPENDENCIES = $(top_builddir)/src/liblzma/liblzma.la \
    141         $(am__append_2) $(am__DEPENDENCIES_1)
     145        $(am__DEPENDENCIES_1) $(am__append_3) $(am__DEPENDENCIES_1)
    142146AM_V_lt = $(am__v_lt_@AM_V@)
    143147am__v_lt_ = $(am__v_lt_@AM_DEFAULT_V@)
     
    247251AUTOMAKE = @AUTOMAKE@
    248252AWK = @AWK@
     253CAPSICUM_LIB = @CAPSICUM_LIB@
    249254CC = @CC@
    250255CCAS = @CCAS@
     
    387392xz = @xz@
    388393xz_SOURCES = args.c args.h coder.c coder.h file_io.c file_io.h \
    389         hardware.c hardware.h list.c list.h main.c main.h message.c \
    390         message.h mytime.c mytime.h options.c options.h private.h \
    391         signals.c signals.h suffix.c suffix.h util.c util.h \
     394        hardware.c hardware.h main.c main.h message.c message.h \
     395        mytime.c mytime.h options.c options.h private.h signals.c \
     396        signals.h suffix.c suffix.h util.c util.h \
    392397        ../common/tuklib_open_stdxxx.c ../common/tuklib_progname.c \
    393398        ../common/tuklib_exit.c ../common/tuklib_mbstr_width.c \
    394         ../common/tuklib_mbstr_fw.c $(am__append_1)
     399        ../common/tuklib_mbstr_fw.c $(am__append_1) $(am__append_2)
    395400xz_CPPFLAGS = \
    396401        -DLOCALEDIR=\"$(localedir)\" \
     
    401406
    402407# libgnu.a may need these libs, so this must be after libgnu.a.
    403 xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la $(am__append_2) \
    404         $(LTLIBINTL)
     408xz_LDADD = $(top_builddir)/src/liblzma/liblzma.la $(CAPSICUM_LIB) \
     409        $(am__append_3) $(LTLIBINTL)
    405410dist_man_MANS = xz.1
    406 xzlinks = unxz xzcat $(am__append_3)
     411xzlinks = unxz xzcat $(am__append_4)
    407412all: all-am
    408413
     
    593598@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-hardware.obj `if test -f 'hardware.c'; then $(CYGPATH_W) 'hardware.c'; else $(CYGPATH_W) '$(srcdir)/hardware.c'; fi`
    594599
     600xz-main.o: main.c
     601@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-main.o -MD -MP -MF $(DEPDIR)/xz-main.Tpo -c -o xz-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
     602@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-main.Tpo $(DEPDIR)/xz-main.Po
     603@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='main.c' object='xz-main.o' libtool=no @AMDEPBACKSLASH@
     604@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     605@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
     606
     607xz-main.obj: main.c
     608@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-main.obj -MD -MP -MF $(DEPDIR)/xz-main.Tpo -c -o xz-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
     609@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-main.Tpo $(DEPDIR)/xz-main.Po
     610@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='main.c' object='xz-main.obj' libtool=no @AMDEPBACKSLASH@
     611@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     612@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
     613
     614xz-message.o: message.c
     615@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-message.o -MD -MP -MF $(DEPDIR)/xz-message.Tpo -c -o xz-message.o `test -f 'message.c' || echo '$(srcdir)/'`message.c
     616@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-message.Tpo $(DEPDIR)/xz-message.Po
     617@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='message.c' object='xz-message.o' libtool=no @AMDEPBACKSLASH@
     618@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     619@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-message.o `test -f 'message.c' || echo '$(srcdir)/'`message.c
     620
     621xz-message.obj: message.c
     622@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-message.obj -MD -MP -MF $(DEPDIR)/xz-message.Tpo -c -o xz-message.obj `if test -f 'message.c'; then $(CYGPATH_W) 'message.c'; else $(CYGPATH_W) '$(srcdir)/message.c'; fi`
     623@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-message.Tpo $(DEPDIR)/xz-message.Po
     624@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='message.c' object='xz-message.obj' libtool=no @AMDEPBACKSLASH@
     625@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     626@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-message.obj `if test -f 'message.c'; then $(CYGPATH_W) 'message.c'; else $(CYGPATH_W) '$(srcdir)/message.c'; fi`
     627
     628xz-mytime.o: mytime.c
     629@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-mytime.o -MD -MP -MF $(DEPDIR)/xz-mytime.Tpo -c -o xz-mytime.o `test -f 'mytime.c' || echo '$(srcdir)/'`mytime.c
     630@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-mytime.Tpo $(DEPDIR)/xz-mytime.Po
     631@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='mytime.c' object='xz-mytime.o' libtool=no @AMDEPBACKSLASH@
     632@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     633@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-mytime.o `test -f 'mytime.c' || echo '$(srcdir)/'`mytime.c
     634
     635xz-mytime.obj: mytime.c
     636@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-mytime.obj -MD -MP -MF $(DEPDIR)/xz-mytime.Tpo -c -o xz-mytime.obj `if test -f 'mytime.c'; then $(CYGPATH_W) 'mytime.c'; else $(CYGPATH_W) '$(srcdir)/mytime.c'; fi`
     637@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-mytime.Tpo $(DEPDIR)/xz-mytime.Po
     638@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='mytime.c' object='xz-mytime.obj' libtool=no @AMDEPBACKSLASH@
     639@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     640@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-mytime.obj `if test -f 'mytime.c'; then $(CYGPATH_W) 'mytime.c'; else $(CYGPATH_W) '$(srcdir)/mytime.c'; fi`
     641
     642xz-options.o: options.c
     643@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-options.o -MD -MP -MF $(DEPDIR)/xz-options.Tpo -c -o xz-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c
     644@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-options.Tpo $(DEPDIR)/xz-options.Po
     645@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='options.c' object='xz-options.o' libtool=no @AMDEPBACKSLASH@
     646@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     647@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c
     648
     649xz-options.obj: options.c
     650@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-options.obj -MD -MP -MF $(DEPDIR)/xz-options.Tpo -c -o xz-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi`
     651@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-options.Tpo $(DEPDIR)/xz-options.Po
     652@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='options.c' object='xz-options.obj' libtool=no @AMDEPBACKSLASH@
     653@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     654@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi`
     655
     656xz-signals.o: signals.c
     657@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-signals.o -MD -MP -MF $(DEPDIR)/xz-signals.Tpo -c -o xz-signals.o `test -f 'signals.c' || echo '$(srcdir)/'`signals.c
     658@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-signals.Tpo $(DEPDIR)/xz-signals.Po
     659@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='signals.c' object='xz-signals.o' libtool=no @AMDEPBACKSLASH@
     660@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     661@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-signals.o `test -f 'signals.c' || echo '$(srcdir)/'`signals.c
     662
     663xz-signals.obj: signals.c
     664@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-signals.obj -MD -MP -MF $(DEPDIR)/xz-signals.Tpo -c -o xz-signals.obj `if test -f 'signals.c'; then $(CYGPATH_W) 'signals.c'; else $(CYGPATH_W) '$(srcdir)/signals.c'; fi`
     665@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-signals.Tpo $(DEPDIR)/xz-signals.Po
     666@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='signals.c' object='xz-signals.obj' libtool=no @AMDEPBACKSLASH@
     667@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     668@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-signals.obj `if test -f 'signals.c'; then $(CYGPATH_W) 'signals.c'; else $(CYGPATH_W) '$(srcdir)/signals.c'; fi`
     669
     670xz-suffix.o: suffix.c
     671@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-suffix.o -MD -MP -MF $(DEPDIR)/xz-suffix.Tpo -c -o xz-suffix.o `test -f 'suffix.c' || echo '$(srcdir)/'`suffix.c
     672@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-suffix.Tpo $(DEPDIR)/xz-suffix.Po
     673@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='suffix.c' object='xz-suffix.o' libtool=no @AMDEPBACKSLASH@
     674@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     675@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-suffix.o `test -f 'suffix.c' || echo '$(srcdir)/'`suffix.c
     676
     677xz-suffix.obj: suffix.c
     678@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-suffix.obj -MD -MP -MF $(DEPDIR)/xz-suffix.Tpo -c -o xz-suffix.obj `if test -f 'suffix.c'; then $(CYGPATH_W) 'suffix.c'; else $(CYGPATH_W) '$(srcdir)/suffix.c'; fi`
     679@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-suffix.Tpo $(DEPDIR)/xz-suffix.Po
     680@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='suffix.c' object='xz-suffix.obj' libtool=no @AMDEPBACKSLASH@
     681@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     682@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-suffix.obj `if test -f 'suffix.c'; then $(CYGPATH_W) 'suffix.c'; else $(CYGPATH_W) '$(srcdir)/suffix.c'; fi`
     683
     684xz-util.o: util.c
     685@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-util.o -MD -MP -MF $(DEPDIR)/xz-util.Tpo -c -o xz-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
     686@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-util.Tpo $(DEPDIR)/xz-util.Po
     687@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='util.c' object='xz-util.o' libtool=no @AMDEPBACKSLASH@
     688@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     689@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
     690
     691xz-util.obj: util.c
     692@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-util.obj -MD -MP -MF $(DEPDIR)/xz-util.Tpo -c -o xz-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
     693@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-util.Tpo $(DEPDIR)/xz-util.Po
     694@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='util.c' object='xz-util.obj' libtool=no @AMDEPBACKSLASH@
     695@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     696@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
     697
     698xz-tuklib_open_stdxxx.o: ../common/tuklib_open_stdxxx.c
     699@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_open_stdxxx.o -MD -MP -MF $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo -c -o xz-tuklib_open_stdxxx.o `test -f '../common/tuklib_open_stdxxx.c' || echo '$(srcdir)/'`../common/tuklib_open_stdxxx.c
     700@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo $(DEPDIR)/xz-tuklib_open_stdxxx.Po
     701@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_open_stdxxx.c' object='xz-tuklib_open_stdxxx.o' libtool=no @AMDEPBACKSLASH@
     702@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     703@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_open_stdxxx.o `test -f '../common/tuklib_open_stdxxx.c' || echo '$(srcdir)/'`../common/tuklib_open_stdxxx.c
     704
     705xz-tuklib_open_stdxxx.obj: ../common/tuklib_open_stdxxx.c
     706@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_open_stdxxx.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo -c -o xz-tuklib_open_stdxxx.obj `if test -f '../common/tuklib_open_stdxxx.c'; then $(CYGPATH_W) '../common/tuklib_open_stdxxx.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_open_stdxxx.c'; fi`
     707@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo $(DEPDIR)/xz-tuklib_open_stdxxx.Po
     708@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_open_stdxxx.c' object='xz-tuklib_open_stdxxx.obj' libtool=no @AMDEPBACKSLASH@
     709@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     710@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_open_stdxxx.obj `if test -f '../common/tuklib_open_stdxxx.c'; then $(CYGPATH_W) '../common/tuklib_open_stdxxx.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_open_stdxxx.c'; fi`
     711
     712xz-tuklib_progname.o: ../common/tuklib_progname.c
     713@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_progname.o -MD -MP -MF $(DEPDIR)/xz-tuklib_progname.Tpo -c -o xz-tuklib_progname.o `test -f '../common/tuklib_progname.c' || echo '$(srcdir)/'`../common/tuklib_progname.c
     714@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_progname.Tpo $(DEPDIR)/xz-tuklib_progname.Po
     715@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_progname.c' object='xz-tuklib_progname.o' libtool=no @AMDEPBACKSLASH@
     716@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     717@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_progname.o `test -f '../common/tuklib_progname.c' || echo '$(srcdir)/'`../common/tuklib_progname.c
     718
     719xz-tuklib_progname.obj: ../common/tuklib_progname.c
     720@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_progname.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_progname.Tpo -c -o xz-tuklib_progname.obj `if test -f '../common/tuklib_progname.c'; then $(CYGPATH_W) '../common/tuklib_progname.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_progname.c'; fi`
     721@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_progname.Tpo $(DEPDIR)/xz-tuklib_progname.Po
     722@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_progname.c' object='xz-tuklib_progname.obj' libtool=no @AMDEPBACKSLASH@
     723@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     724@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_progname.obj `if test -f '../common/tuklib_progname.c'; then $(CYGPATH_W) '../common/tuklib_progname.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_progname.c'; fi`
     725
     726xz-tuklib_exit.o: ../common/tuklib_exit.c
     727@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_exit.o -MD -MP -MF $(DEPDIR)/xz-tuklib_exit.Tpo -c -o xz-tuklib_exit.o `test -f '../common/tuklib_exit.c' || echo '$(srcdir)/'`../common/tuklib_exit.c
     728@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_exit.Tpo $(DEPDIR)/xz-tuklib_exit.Po
     729@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_exit.c' object='xz-tuklib_exit.o' libtool=no @AMDEPBACKSLASH@
     730@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     731@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_exit.o `test -f '../common/tuklib_exit.c' || echo '$(srcdir)/'`../common/tuklib_exit.c
     732
     733xz-tuklib_exit.obj: ../common/tuklib_exit.c
     734@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_exit.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_exit.Tpo -c -o xz-tuklib_exit.obj `if test -f '../common/tuklib_exit.c'; then $(CYGPATH_W) '../common/tuklib_exit.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_exit.c'; fi`
     735@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_exit.Tpo $(DEPDIR)/xz-tuklib_exit.Po
     736@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_exit.c' object='xz-tuklib_exit.obj' libtool=no @AMDEPBACKSLASH@
     737@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     738@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_exit.obj `if test -f '../common/tuklib_exit.c'; then $(CYGPATH_W) '../common/tuklib_exit.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_exit.c'; fi`
     739
     740xz-tuklib_mbstr_width.o: ../common/tuklib_mbstr_width.c
     741@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_width.o -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_width.Tpo -c -o xz-tuklib_mbstr_width.o `test -f '../common/tuklib_mbstr_width.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_width.c
     742@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_width.Tpo $(DEPDIR)/xz-tuklib_mbstr_width.Po
     743@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_width.c' object='xz-tuklib_mbstr_width.o' libtool=no @AMDEPBACKSLASH@
     744@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     745@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_width.o `test -f '../common/tuklib_mbstr_width.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_width.c
     746
     747xz-tuklib_mbstr_width.obj: ../common/tuklib_mbstr_width.c
     748@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_width.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_width.Tpo -c -o xz-tuklib_mbstr_width.obj `if test -f '../common/tuklib_mbstr_width.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_width.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_width.c'; fi`
     749@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_width.Tpo $(DEPDIR)/xz-tuklib_mbstr_width.Po
     750@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_width.c' object='xz-tuklib_mbstr_width.obj' libtool=no @AMDEPBACKSLASH@
     751@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     752@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_width.obj `if test -f '../common/tuklib_mbstr_width.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_width.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_width.c'; fi`
     753
     754xz-tuklib_mbstr_fw.o: ../common/tuklib_mbstr_fw.c
     755@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_fw.o -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo -c -o xz-tuklib_mbstr_fw.o `test -f '../common/tuklib_mbstr_fw.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_fw.c
     756@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo $(DEPDIR)/xz-tuklib_mbstr_fw.Po
     757@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_fw.c' object='xz-tuklib_mbstr_fw.o' libtool=no @AMDEPBACKSLASH@
     758@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     759@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_fw.o `test -f '../common/tuklib_mbstr_fw.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_fw.c
     760
     761xz-tuklib_mbstr_fw.obj: ../common/tuklib_mbstr_fw.c
     762@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_fw.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo -c -o xz-tuklib_mbstr_fw.obj `if test -f '../common/tuklib_mbstr_fw.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_fw.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_fw.c'; fi`
     763@am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo $(DEPDIR)/xz-tuklib_mbstr_fw.Po
     764@AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_fw.c' object='xz-tuklib_mbstr_fw.obj' libtool=no @AMDEPBACKSLASH@
     765@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
     766@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_fw.obj `if test -f '../common/tuklib_mbstr_fw.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_fw.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_fw.c'; fi`
     767
    595768xz-list.o: list.c
    596769@am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-list.o -MD -MP -MF $(DEPDIR)/xz-list.Tpo -c -o xz-list.o `test -f 'list.c' || echo '$(srcdir)/'`list.c
     
    606779@AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    607780@am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-list.obj `if test -f 'list.c'; then $(CYGPATH_W) 'list.c'; else $(CYGPATH_W) '$(srcdir)/list.c'; fi`
    608 
    609 xz-main.o: main.c
    610 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-main.o -MD -MP -MF $(DEPDIR)/xz-main.Tpo -c -o xz-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
    611 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-main.Tpo $(DEPDIR)/xz-main.Po
    612 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='main.c' object='xz-main.o' libtool=no @AMDEPBACKSLASH@
    613 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    614 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-main.o `test -f 'main.c' || echo '$(srcdir)/'`main.c
    615 
    616 xz-main.obj: main.c
    617 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-main.obj -MD -MP -MF $(DEPDIR)/xz-main.Tpo -c -o xz-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
    618 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-main.Tpo $(DEPDIR)/xz-main.Po
    619 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='main.c' object='xz-main.obj' libtool=no @AMDEPBACKSLASH@
    620 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    621 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-main.obj `if test -f 'main.c'; then $(CYGPATH_W) 'main.c'; else $(CYGPATH_W) '$(srcdir)/main.c'; fi`
    622 
    623 xz-message.o: message.c
    624 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-message.o -MD -MP -MF $(DEPDIR)/xz-message.Tpo -c -o xz-message.o `test -f 'message.c' || echo '$(srcdir)/'`message.c
    625 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-message.Tpo $(DEPDIR)/xz-message.Po
    626 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='message.c' object='xz-message.o' libtool=no @AMDEPBACKSLASH@
    627 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    628 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-message.o `test -f 'message.c' || echo '$(srcdir)/'`message.c
    629 
    630 xz-message.obj: message.c
    631 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-message.obj -MD -MP -MF $(DEPDIR)/xz-message.Tpo -c -o xz-message.obj `if test -f 'message.c'; then $(CYGPATH_W) 'message.c'; else $(CYGPATH_W) '$(srcdir)/message.c'; fi`
    632 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-message.Tpo $(DEPDIR)/xz-message.Po
    633 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='message.c' object='xz-message.obj' libtool=no @AMDEPBACKSLASH@
    634 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    635 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-message.obj `if test -f 'message.c'; then $(CYGPATH_W) 'message.c'; else $(CYGPATH_W) '$(srcdir)/message.c'; fi`
    636 
    637 xz-mytime.o: mytime.c
    638 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-mytime.o -MD -MP -MF $(DEPDIR)/xz-mytime.Tpo -c -o xz-mytime.o `test -f 'mytime.c' || echo '$(srcdir)/'`mytime.c
    639 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-mytime.Tpo $(DEPDIR)/xz-mytime.Po
    640 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='mytime.c' object='xz-mytime.o' libtool=no @AMDEPBACKSLASH@
    641 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    642 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-mytime.o `test -f 'mytime.c' || echo '$(srcdir)/'`mytime.c
    643 
    644 xz-mytime.obj: mytime.c
    645 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-mytime.obj -MD -MP -MF $(DEPDIR)/xz-mytime.Tpo -c -o xz-mytime.obj `if test -f 'mytime.c'; then $(CYGPATH_W) 'mytime.c'; else $(CYGPATH_W) '$(srcdir)/mytime.c'; fi`
    646 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-mytime.Tpo $(DEPDIR)/xz-mytime.Po
    647 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='mytime.c' object='xz-mytime.obj' libtool=no @AMDEPBACKSLASH@
    648 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    649 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-mytime.obj `if test -f 'mytime.c'; then $(CYGPATH_W) 'mytime.c'; else $(CYGPATH_W) '$(srcdir)/mytime.c'; fi`
    650 
    651 xz-options.o: options.c
    652 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-options.o -MD -MP -MF $(DEPDIR)/xz-options.Tpo -c -o xz-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c
    653 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-options.Tpo $(DEPDIR)/xz-options.Po
    654 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='options.c' object='xz-options.o' libtool=no @AMDEPBACKSLASH@
    655 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    656 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-options.o `test -f 'options.c' || echo '$(srcdir)/'`options.c
    657 
    658 xz-options.obj: options.c
    659 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-options.obj -MD -MP -MF $(DEPDIR)/xz-options.Tpo -c -o xz-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi`
    660 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-options.Tpo $(DEPDIR)/xz-options.Po
    661 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='options.c' object='xz-options.obj' libtool=no @AMDEPBACKSLASH@
    662 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    663 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-options.obj `if test -f 'options.c'; then $(CYGPATH_W) 'options.c'; else $(CYGPATH_W) '$(srcdir)/options.c'; fi`
    664 
    665 xz-signals.o: signals.c
    666 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-signals.o -MD -MP -MF $(DEPDIR)/xz-signals.Tpo -c -o xz-signals.o `test -f 'signals.c' || echo '$(srcdir)/'`signals.c
    667 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-signals.Tpo $(DEPDIR)/xz-signals.Po
    668 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='signals.c' object='xz-signals.o' libtool=no @AMDEPBACKSLASH@
    669 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    670 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-signals.o `test -f 'signals.c' || echo '$(srcdir)/'`signals.c
    671 
    672 xz-signals.obj: signals.c
    673 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-signals.obj -MD -MP -MF $(DEPDIR)/xz-signals.Tpo -c -o xz-signals.obj `if test -f 'signals.c'; then $(CYGPATH_W) 'signals.c'; else $(CYGPATH_W) '$(srcdir)/signals.c'; fi`
    674 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-signals.Tpo $(DEPDIR)/xz-signals.Po
    675 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='signals.c' object='xz-signals.obj' libtool=no @AMDEPBACKSLASH@
    676 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    677 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-signals.obj `if test -f 'signals.c'; then $(CYGPATH_W) 'signals.c'; else $(CYGPATH_W) '$(srcdir)/signals.c'; fi`
    678 
    679 xz-suffix.o: suffix.c
    680 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-suffix.o -MD -MP -MF $(DEPDIR)/xz-suffix.Tpo -c -o xz-suffix.o `test -f 'suffix.c' || echo '$(srcdir)/'`suffix.c
    681 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-suffix.Tpo $(DEPDIR)/xz-suffix.Po
    682 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='suffix.c' object='xz-suffix.o' libtool=no @AMDEPBACKSLASH@
    683 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    684 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-suffix.o `test -f 'suffix.c' || echo '$(srcdir)/'`suffix.c
    685 
    686 xz-suffix.obj: suffix.c
    687 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-suffix.obj -MD -MP -MF $(DEPDIR)/xz-suffix.Tpo -c -o xz-suffix.obj `if test -f 'suffix.c'; then $(CYGPATH_W) 'suffix.c'; else $(CYGPATH_W) '$(srcdir)/suffix.c'; fi`
    688 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-suffix.Tpo $(DEPDIR)/xz-suffix.Po
    689 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='suffix.c' object='xz-suffix.obj' libtool=no @AMDEPBACKSLASH@
    690 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    691 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-suffix.obj `if test -f 'suffix.c'; then $(CYGPATH_W) 'suffix.c'; else $(CYGPATH_W) '$(srcdir)/suffix.c'; fi`
    692 
    693 xz-util.o: util.c
    694 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-util.o -MD -MP -MF $(DEPDIR)/xz-util.Tpo -c -o xz-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
    695 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-util.Tpo $(DEPDIR)/xz-util.Po
    696 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='util.c' object='xz-util.o' libtool=no @AMDEPBACKSLASH@
    697 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    698 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-util.o `test -f 'util.c' || echo '$(srcdir)/'`util.c
    699 
    700 xz-util.obj: util.c
    701 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-util.obj -MD -MP -MF $(DEPDIR)/xz-util.Tpo -c -o xz-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
    702 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-util.Tpo $(DEPDIR)/xz-util.Po
    703 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='util.c' object='xz-util.obj' libtool=no @AMDEPBACKSLASH@
    704 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    705 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-util.obj `if test -f 'util.c'; then $(CYGPATH_W) 'util.c'; else $(CYGPATH_W) '$(srcdir)/util.c'; fi`
    706 
    707 xz-tuklib_open_stdxxx.o: ../common/tuklib_open_stdxxx.c
    708 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_open_stdxxx.o -MD -MP -MF $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo -c -o xz-tuklib_open_stdxxx.o `test -f '../common/tuklib_open_stdxxx.c' || echo '$(srcdir)/'`../common/tuklib_open_stdxxx.c
    709 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo $(DEPDIR)/xz-tuklib_open_stdxxx.Po
    710 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_open_stdxxx.c' object='xz-tuklib_open_stdxxx.o' libtool=no @AMDEPBACKSLASH@
    711 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    712 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_open_stdxxx.o `test -f '../common/tuklib_open_stdxxx.c' || echo '$(srcdir)/'`../common/tuklib_open_stdxxx.c
    713 
    714 xz-tuklib_open_stdxxx.obj: ../common/tuklib_open_stdxxx.c
    715 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_open_stdxxx.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo -c -o xz-tuklib_open_stdxxx.obj `if test -f '../common/tuklib_open_stdxxx.c'; then $(CYGPATH_W) '../common/tuklib_open_stdxxx.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_open_stdxxx.c'; fi`
    716 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_open_stdxxx.Tpo $(DEPDIR)/xz-tuklib_open_stdxxx.Po
    717 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_open_stdxxx.c' object='xz-tuklib_open_stdxxx.obj' libtool=no @AMDEPBACKSLASH@
    718 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    719 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_open_stdxxx.obj `if test -f '../common/tuklib_open_stdxxx.c'; then $(CYGPATH_W) '../common/tuklib_open_stdxxx.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_open_stdxxx.c'; fi`
    720 
    721 xz-tuklib_progname.o: ../common/tuklib_progname.c
    722 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_progname.o -MD -MP -MF $(DEPDIR)/xz-tuklib_progname.Tpo -c -o xz-tuklib_progname.o `test -f '../common/tuklib_progname.c' || echo '$(srcdir)/'`../common/tuklib_progname.c
    723 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_progname.Tpo $(DEPDIR)/xz-tuklib_progname.Po
    724 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_progname.c' object='xz-tuklib_progname.o' libtool=no @AMDEPBACKSLASH@
    725 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    726 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_progname.o `test -f '../common/tuklib_progname.c' || echo '$(srcdir)/'`../common/tuklib_progname.c
    727 
    728 xz-tuklib_progname.obj: ../common/tuklib_progname.c
    729 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_progname.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_progname.Tpo -c -o xz-tuklib_progname.obj `if test -f '../common/tuklib_progname.c'; then $(CYGPATH_W) '../common/tuklib_progname.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_progname.c'; fi`
    730 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_progname.Tpo $(DEPDIR)/xz-tuklib_progname.Po
    731 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_progname.c' object='xz-tuklib_progname.obj' libtool=no @AMDEPBACKSLASH@
    732 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    733 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_progname.obj `if test -f '../common/tuklib_progname.c'; then $(CYGPATH_W) '../common/tuklib_progname.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_progname.c'; fi`
    734 
    735 xz-tuklib_exit.o: ../common/tuklib_exit.c
    736 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_exit.o -MD -MP -MF $(DEPDIR)/xz-tuklib_exit.Tpo -c -o xz-tuklib_exit.o `test -f '../common/tuklib_exit.c' || echo '$(srcdir)/'`../common/tuklib_exit.c
    737 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_exit.Tpo $(DEPDIR)/xz-tuklib_exit.Po
    738 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_exit.c' object='xz-tuklib_exit.o' libtool=no @AMDEPBACKSLASH@
    739 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    740 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_exit.o `test -f '../common/tuklib_exit.c' || echo '$(srcdir)/'`../common/tuklib_exit.c
    741 
    742 xz-tuklib_exit.obj: ../common/tuklib_exit.c
    743 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_exit.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_exit.Tpo -c -o xz-tuklib_exit.obj `if test -f '../common/tuklib_exit.c'; then $(CYGPATH_W) '../common/tuklib_exit.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_exit.c'; fi`
    744 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_exit.Tpo $(DEPDIR)/xz-tuklib_exit.Po
    745 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_exit.c' object='xz-tuklib_exit.obj' libtool=no @AMDEPBACKSLASH@
    746 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    747 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_exit.obj `if test -f '../common/tuklib_exit.c'; then $(CYGPATH_W) '../common/tuklib_exit.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_exit.c'; fi`
    748 
    749 xz-tuklib_mbstr_width.o: ../common/tuklib_mbstr_width.c
    750 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_width.o -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_width.Tpo -c -o xz-tuklib_mbstr_width.o `test -f '../common/tuklib_mbstr_width.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_width.c
    751 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_width.Tpo $(DEPDIR)/xz-tuklib_mbstr_width.Po
    752 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_width.c' object='xz-tuklib_mbstr_width.o' libtool=no @AMDEPBACKSLASH@
    753 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    754 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_width.o `test -f '../common/tuklib_mbstr_width.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_width.c
    755 
    756 xz-tuklib_mbstr_width.obj: ../common/tuklib_mbstr_width.c
    757 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_width.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_width.Tpo -c -o xz-tuklib_mbstr_width.obj `if test -f '../common/tuklib_mbstr_width.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_width.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_width.c'; fi`
    758 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_width.Tpo $(DEPDIR)/xz-tuklib_mbstr_width.Po
    759 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_width.c' object='xz-tuklib_mbstr_width.obj' libtool=no @AMDEPBACKSLASH@
    760 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    761 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_width.obj `if test -f '../common/tuklib_mbstr_width.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_width.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_width.c'; fi`
    762 
    763 xz-tuklib_mbstr_fw.o: ../common/tuklib_mbstr_fw.c
    764 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_fw.o -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo -c -o xz-tuklib_mbstr_fw.o `test -f '../common/tuklib_mbstr_fw.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_fw.c
    765 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo $(DEPDIR)/xz-tuklib_mbstr_fw.Po
    766 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_fw.c' object='xz-tuklib_mbstr_fw.o' libtool=no @AMDEPBACKSLASH@
    767 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    768 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_fw.o `test -f '../common/tuklib_mbstr_fw.c' || echo '$(srcdir)/'`../common/tuklib_mbstr_fw.c
    769 
    770 xz-tuklib_mbstr_fw.obj: ../common/tuklib_mbstr_fw.c
    771 @am__fastdepCC_TRUE@    $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -MT xz-tuklib_mbstr_fw.obj -MD -MP -MF $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo -c -o xz-tuklib_mbstr_fw.obj `if test -f '../common/tuklib_mbstr_fw.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_fw.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_fw.c'; fi`
    772 @am__fastdepCC_TRUE@    $(AM_V_at)$(am__mv) $(DEPDIR)/xz-tuklib_mbstr_fw.Tpo $(DEPDIR)/xz-tuklib_mbstr_fw.Po
    773 @AMDEP_TRUE@@am__fastdepCC_FALSE@       $(AM_V_CC)source='../common/tuklib_mbstr_fw.c' object='xz-tuklib_mbstr_fw.obj' libtool=no @AMDEPBACKSLASH@
    774 @AMDEP_TRUE@@am__fastdepCC_FALSE@       DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
    775 @am__fastdepCC_FALSE@   $(AM_V_CC@am__nodep@)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(xz_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS) -c -o xz-tuklib_mbstr_fw.obj `if test -f '../common/tuklib_mbstr_fw.c'; then $(CYGPATH_W) '../common/tuklib_mbstr_fw.c'; else $(CYGPATH_W) '$(srcdir)/../common/tuklib_mbstr_fw.c'; fi`
    776781
    777782mostlyclean-libtool:
  • TabularUnified xz/vendor/current/src/xz/args.c

    r1791 r1993  
    636636        parse_real(args, argc, argv);
    637637
     638        // If encoder or decoder support was omitted at build time,
     639        // show an error now so that the rest of the code can rely on
     640        // that whatever is in opt_mode is also supported.
     641#ifndef HAVE_ENCODERS
     642        if (opt_mode == MODE_COMPRESS)
     643                message_fatal(_("Compression support was disabled "
     644                                "at build time"));
     645#endif
     646#ifndef HAVE_DECODERS
     647        // Even MODE_LIST cannot work without decoder support so MODE_COMPRESS
     648        // is the only valid choice.
     649        if (opt_mode != MODE_COMPRESS)
     650                message_fatal(_("Decompression support was disabled "
     651                                "at build time"));
     652#endif
     653
    638654        // Never remove the source file when the destination is not on disk.
    639655        // In test mode the data is written nowhere, but setting opt_stdout
  • TabularUnified xz/vendor/current/src/xz/coder.c

    r1791 r1993  
    5252static bool check_default = true;
    5353
    54 #ifdef MYTHREAD_ENABLED
     54#if defined(HAVE_ENCODERS) && defined(MYTHREAD_ENABLED)
    5555static lzma_mt mt_options = {
    5656        .flags = 0,
     
    222222        // we can be decompressing.
    223223        const uint64_t memory_limit = hardware_memlimit_get(opt_mode);
    224         uint64_t memory_usage;
     224        uint64_t memory_usage = UINT64_MAX;
    225225        if (opt_mode == MODE_COMPRESS) {
    226 #ifdef MYTHREAD_ENABLED
     226#ifdef HAVE_ENCODERS
     227#       ifdef MYTHREAD_ENABLED
    227228                if (opt_format == FORMAT_XZ && hardware_threads_get() > 1) {
    228229                        mt_options.threads = hardware_threads_get();
     
    236237                                                mt_options.threads);
    237238                } else
    238 #endif
     239#       endif
    239240                {
    240241                        memory_usage = lzma_raw_encoder_memusage(filters);
    241242                }
     243#endif
    242244        } else {
     245#ifdef HAVE_DECODERS
    243246                memory_usage = lzma_raw_decoder_memusage(filters);
     247#endif
    244248        }
    245249
     
    249253        // Print memory usage info before possible dictionary
    250254        // size auto-adjusting.
     255        //
     256        // NOTE: If only encoder support was built, we cannot show the
     257        // what the decoder memory usage will be.
    251258        message_mem_needed(V_DEBUG, memory_usage);
     259#ifdef HAVE_DECODERS
    252260        if (opt_mode == MODE_COMPRESS) {
    253261                const uint64_t decmem = lzma_raw_decoder_memusage(filters);
     
    257265                                                round_up_to_mib(decmem), 0));
    258266        }
     267#endif
    259268
    260269        if (memory_usage <= memory_limit)
     
    269278        assert(opt_mode == MODE_COMPRESS);
    270279
    271 #ifdef MYTHREAD_ENABLED
     280#ifdef HAVE_ENCODERS
     281#       ifdef MYTHREAD_ENABLED
    272282        if (opt_format == FORMAT_XZ && mt_options.threads > 1) {
    273283                // Try to reduce the number of threads before
     
    296306                                memory_limit), 2));
    297307        }
    298 #endif
     308#       endif
    299309
    300310        if (memory_usage <= memory_limit)
     
    350360                        uint64_to_str(opt->dict_size >> 20, 1),
    351361                        uint64_to_str(round_up_to_mib(memory_limit), 2));
     362#endif
    352363
    353364        return;
     
    355366
    356367
     368#ifdef HAVE_DECODERS
    357369/// Return true if the data in in_buf seems to be in the .xz format.
    358370static bool
     
    412424        return true;
    413425}
     426#endif
    414427
    415428
     
    425438
    426439        if (opt_mode == MODE_COMPRESS) {
     440#ifdef HAVE_ENCODERS
    427441                switch (opt_format) {
    428442                case FORMAT_AUTO:
     
    432446
    433447                case FORMAT_XZ:
    434 #ifdef MYTHREAD_ENABLED
     448#       ifdef MYTHREAD_ENABLED
    435449                        if (hardware_threads_get() > 1)
    436450                                ret = lzma_stream_encoder_mt(
    437451                                                &strm, &mt_options);
    438452                        else
    439 #endif
     453#       endif
    440454                                ret = lzma_stream_encoder(
    441455                                                &strm, filters, check);
     
    450464                        break;
    451465                }
     466#endif
    452467        } else {
     468#ifdef HAVE_DECODERS
    453469                uint32_t flags = 0;
    454470
     
    532548                        ret = lzma_code(&strm, LZMA_RUN);
    533549                }
     550#endif
    534551        }
    535552
  • TabularUnified xz/vendor/current/src/xz/file_io.c

    r1791 r1993  
    2424#if defined(HAVE_FUTIMES) || defined(HAVE_FUTIMESAT) || defined(HAVE_UTIMES)
    2525#       include <sys/time.h>
     26#elif defined(HAVE__FUTIME)
     27#       include <sys/utime.h>
    2628#elif defined(HAVE_UTIME)
    2729#       include <utime.h>
    2830#endif
    2931
     32#ifdef HAVE_CAPSICUM
     33#       ifdef HAVE_SYS_CAPSICUM_H
     34#               include <sys/capsicum.h>
     35#       else
     36#               include <sys/capability.h>
     37#       endif
     38#endif
     39
    3040#include "tuklib_open_stdxxx.h"
    3141
     
    3646#ifndef O_NOCTTY
    3747#       define O_NOCTTY 0
     48#endif
     49
     50// Using this macro to silence a warning from gcc -Wlogical-op.
     51#if EAGAIN == EWOULDBLOCK
     52#       define IS_EAGAIN_OR_EWOULDBLOCK(e) ((e) == EAGAIN)
     53#else
     54#       define IS_EAGAIN_OR_EWOULDBLOCK(e) \
     55                ((e) == EAGAIN || (e) == EWOULDBLOCK)
    3856#endif
    3957
     
    4866/// If true, try to create sparse files when decompressing.
    4967static bool try_sparse = true;
     68
     69#ifdef ENABLE_SANDBOX
     70/// True if the conditions for sandboxing (described in main()) have been met.
     71static bool sandbox_allowed = false;
     72#endif
    5073
    5174#ifndef TUKLIB_DOSLIKE
     
    131154        return;
    132155}
     156
     157
     158#ifdef ENABLE_SANDBOX
     159extern void
     160io_allow_sandbox(void)
     161{
     162        sandbox_allowed = true;
     163        return;
     164}
     165
     166
     167/// Enables operating-system-specific sandbox if it is possible.
     168/// src_fd is the file descriptor of the input file.
     169static void
     170io_sandbox_enter(int src_fd)
     171{
     172        if (!sandbox_allowed) {
     173                message(V_DEBUG, _("Sandbox is disabled due "
     174                                "to incompatible command line arguments"));
     175                return;
     176        }
     177
     178        const char dummy_str[] = "x";
     179
     180        // Try to ensure that both libc and xz locale files have been
     181        // loaded when NLS is enabled.
     182        snprintf(NULL, 0, "%s%s", _(dummy_str), strerror(EINVAL));
     183
     184        // Try to ensure that iconv data files needed for handling multibyte
     185        // characters have been loaded. This is needed at least with glibc.
     186        tuklib_mbstr_width(dummy_str, NULL);
     187
     188#ifdef HAVE_CAPSICUM
     189        // Capsicum needs FreeBSD 10.0 or later.
     190        cap_rights_t rights;
     191
     192        if (cap_rights_limit(src_fd, cap_rights_init(&rights,
     193                        CAP_EVENT, CAP_FCNTL, CAP_LOOKUP, CAP_READ, CAP_SEEK)))
     194                goto error;
     195
     196        if (cap_rights_limit(STDOUT_FILENO, cap_rights_init(&rights,
     197                        CAP_EVENT, CAP_FCNTL, CAP_FSTAT, CAP_LOOKUP,
     198                        CAP_WRITE, CAP_SEEK)))
     199                goto error;
     200
     201        if (cap_rights_limit(user_abort_pipe[0], cap_rights_init(&rights,
     202                        CAP_EVENT)))
     203                goto error;
     204
     205        if (cap_rights_limit(user_abort_pipe[1], cap_rights_init(&rights,
     206                        CAP_WRITE)))
     207                goto error;
     208
     209        if (cap_enter())
     210                goto error;
     211
     212#else
     213#       error ENABLE_SANDBOX is defined but no sandboxing method was found.
     214#endif
     215
     216        message(V_DEBUG, _("Sandbox was successfully enabled"));
     217        return;
     218
     219error:
     220        message(V_DEBUG, _("Failed to enable the sandbox"));
     221}
     222#endif // ENABLE_SANDBOX
    133223
    134224
     
    370460#       endif
    371461
     462#elif defined(HAVE__FUTIME)
     463        // Use one-second precision with Windows-specific _futime().
     464        // We could use utime() too except that for some reason the
     465        // timestamp will get reset at close(). With _futime() it works.
     466        // This struct cannot be const as _futime() takes a non-const pointer.
     467        struct _utimbuf buf = {
     468                .actime = pair->src_st.st_atime,
     469                .modtime = pair->src_st.st_mtime,
     470        };
     471
     472        // Avoid warnings.
     473        (void)atime_nsec;
     474        (void)mtime_nsec;
     475
     476        (void)_futime(pair->dest_fd, &buf);
     477
    372478#elif defined(HAVE_UTIME)
    373479        // Use one-second precision. utime() doesn't support using file
     
    650756        signals_unblock();
    651757
     758#ifdef ENABLE_SANDBOX
     759        if (!error)
     760                io_sandbox_enter(pair.src_fd);
     761#endif
     762
    652763        return error ? NULL : &pair;
    653764}
     
    676787
    677788        if (pair->src_fd != STDIN_FILENO && pair->src_fd != -1) {
    678 #ifdef TUKLIB_DOSLIKE
     789                // Close the file before possibly unlinking it. On DOS-like
     790                // systems this is always required since unlinking will fail
     791                // if the file is open. On POSIX systems it usually works
     792                // to unlink open files, but in some cases it doesn't and
     793                // one gets EBUSY in errno.
     794                //
     795                // xz 5.2.2 and older unlinked the file before closing it
     796                // (except on DOS-like systems). The old code didn't handle
     797                // EBUSY and could fail e.g. on some CIFS shares. The
     798                // advantage of unlinking before closing is negligible
     799                // (avoids a race between close() and stat()/lstat() and
     800                // unlink()), so let's keep this simple.
    679801                (void)close(pair->src_fd);
    680 #endif
    681 
    682                 // If we are going to unlink(), do it before closing the file.
    683                 // This way there's no risk that someone replaces the file and
    684                 // happens to get same inode number, which would make us
    685                 // unlink() wrong file.
    686                 //
    687                 // NOTE: DOS-like systems are an exception to this, because
    688                 // they don't allow unlinking files that are open. *sigh*
     802
    689803                if (success && !opt_keep_original)
    690804                        io_unlink(pair->src_name, &pair->src_st);
    691 
    692 #ifndef TUKLIB_DOSLIKE
    693                 (void)close(pair->src_fd);
    694 #endif
    695805        }
    696806
     
    10191129
    10201130#ifndef TUKLIB_DOSLIKE
    1021                         if (errno == EAGAIN || errno == EWOULDBLOCK) {
     1131                        if (IS_EAGAIN_OR_EWOULDBLOCK(errno)) {
    10221132                                const io_wait_ret ret = io_wait(pair,
    10231133                                                mytime_get_flush_timeout(),
     
    11071217
    11081218#ifndef TUKLIB_DOSLIKE
    1109                         if (errno == EAGAIN || errno == EWOULDBLOCK) {
     1219                        if (IS_EAGAIN_OR_EWOULDBLOCK(errno)) {
    11101220                                if (io_wait(pair, -1, false) == IO_WAIT_MORE)
    11111221                                        continue;
  • TabularUnified xz/vendor/current/src/xz/file_io.h

    r1791 r1993  
    8181
    8282
     83#ifdef ENABLE_SANDBOX
     84/// \brief      main() calls this if conditions for sandboxing have been met.
     85extern void io_allow_sandbox(void);
     86#endif
     87
     88
    8389/// \brief      Open the source file
    8490extern file_pair *io_open_src(const char *src_name);
  • TabularUnified xz/vendor/current/src/xz/main.c

    r1791 r1993  
    206206                signals_init();
    207207
     208#ifdef ENABLE_SANDBOX
     209        // Set a flag that sandboxing is allowed if all these are true:
     210        //   - --files or --files0 wasn't used.
     211        //   - There is exactly one input file or we are reading from stdin.
     212        //   - We won't create any files: output goes to stdout or --test
     213        //     or --list was used. Note that --test implies opt_stdout = true
     214        //     but --list doesn't.
     215        //
     216        // This is obviously not ideal but it was easy to implement and
     217        // it covers the most common use cases.
     218        //
     219        // TODO: Make sandboxing work for other situations too.
     220        if (args.files_name == NULL && args.arg_count == 1
     221                        && (opt_stdout || strcmp("-", args.arg_names[0]) == 0
     222                                || opt_mode == MODE_LIST))
     223                io_allow_sandbox();
     224#endif
     225
    208226        // coder_run() handles compression, decompression, and testing.
    209227        // list_file() is for --list.
    210         void (*run)(const char *filename) = opt_mode == MODE_LIST
    211                          ? &list_file : &coder_run;
     228        void (*run)(const char *filename) = &coder_run;
     229#ifdef HAVE_DECODERS
     230        if (opt_mode == MODE_LIST)
     231                run = &list_file;
     232#endif
    212233
    213234        // Process the files given on the command line. Note that if no names
     
    268289        }
    269290
     291#ifdef HAVE_DECODERS
    270292        // All files have now been handled. If in --list mode, display
    271293        // the totals before exiting. We don't have signal handlers
     
    275297                list_totals();
    276298        }
     299#endif
    277300
    278301#ifndef NDEBUG
  • TabularUnified xz/vendor/current/src/xz/private.h

    r1791 r1993  
    4646#endif
    4747
     48#ifdef HAVE_CAPSICUM
     49#       define ENABLE_SANDBOX 1
     50#endif
     51
    4852#include "main.h"
    4953#include "mytime.h"
     
    5761#include "suffix.h"
    5862#include "util.h"
    59 #include "list.h"
     63
     64#ifdef HAVE_DECODERS
     65#       include "list.h"
     66#endif
  • TabularUnified xz/vendor/current/src/xzdec/Makefile.in

    r1791 r1993  
    9797subdir = src/xzdec
    9898ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    99 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    100         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    101         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    102         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    103         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    104         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    105         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    106         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    107         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    108         $(top_srcdir)/m4/tuklib_common.m4 \
     99am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     100        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     101        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     102        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     103        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     104        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     105        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     106        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     107        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     108        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    109109        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    110110        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    254254AUTOMAKE = @AUTOMAKE@
    255255AWK = @AWK@
     256CAPSICUM_LIB = @CAPSICUM_LIB@
    256257CC = @CC@
    257258CCAS = @CCAS@
  • TabularUnified xz/vendor/current/tests/Makefile.in

    r1791 r1993  
    100100subdir = tests
    101101ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    102 am__aclocal_m4_deps = $(top_srcdir)/m4/ax_pthread.m4 \
    103         $(top_srcdir)/m4/getopt.m4 $(top_srcdir)/m4/gettext.m4 \
    104         $(top_srcdir)/m4/iconv.m4 $(top_srcdir)/m4/intlmacosx.m4 \
    105         $(top_srcdir)/m4/lib-ld.m4 $(top_srcdir)/m4/lib-link.m4 \
    106         $(top_srcdir)/m4/lib-prefix.m4 $(top_srcdir)/m4/libtool.m4 \
    107         $(top_srcdir)/m4/ltoptions.m4 $(top_srcdir)/m4/ltsugar.m4 \
    108         $(top_srcdir)/m4/ltversion.m4 $(top_srcdir)/m4/lt~obsolete.m4 \
    109         $(top_srcdir)/m4/nls.m4 $(top_srcdir)/m4/po.m4 \
    110         $(top_srcdir)/m4/posix-shell.m4 $(top_srcdir)/m4/progtest.m4 \
    111         $(top_srcdir)/m4/tuklib_common.m4 \
     102am__aclocal_m4_deps = $(top_srcdir)/m4/ax_check_capsicum.m4 \
     103        $(top_srcdir)/m4/ax_pthread.m4 $(top_srcdir)/m4/getopt.m4 \
     104        $(top_srcdir)/m4/gettext.m4 $(top_srcdir)/m4/iconv.m4 \
     105        $(top_srcdir)/m4/intlmacosx.m4 $(top_srcdir)/m4/lib-ld.m4 \
     106        $(top_srcdir)/m4/lib-link.m4 $(top_srcdir)/m4/lib-prefix.m4 \
     107        $(top_srcdir)/m4/libtool.m4 $(top_srcdir)/m4/ltoptions.m4 \
     108        $(top_srcdir)/m4/ltsugar.m4 $(top_srcdir)/m4/ltversion.m4 \
     109        $(top_srcdir)/m4/lt~obsolete.m4 $(top_srcdir)/m4/nls.m4 \
     110        $(top_srcdir)/m4/po.m4 $(top_srcdir)/m4/posix-shell.m4 \
     111        $(top_srcdir)/m4/progtest.m4 $(top_srcdir)/m4/tuklib_common.m4 \
    112112        $(top_srcdir)/m4/tuklib_cpucores.m4 \
    113113        $(top_srcdir)/m4/tuklib_integer.m4 \
     
    267267AUTOMAKE = @AUTOMAKE@
    268268AWK = @AWK@
     269CAPSICUM_LIB = @CAPSICUM_LIB@
    269270CC = @CC@
    270271CCAS = @CCAS@
  • TabularUnified xz/vendor/current/tests/test_index.c

    r1791 r1993  
    631631
    632632
     633// Allocator that succeeds for the first two allocation but fails the rest.
     634static void *
     635my_alloc(void *opaque, size_t a, size_t b)
     636{
     637        (void)opaque;
     638
     639        static unsigned count = 0;
     640        if (++count > 2)
     641                return NULL;
     642
     643        return malloc(a * b);
     644}
     645
     646static const lzma_allocator my_allocator = { &my_alloc, NULL, NULL };
     647
     648
    633649int
    634650main(void)
     
    656672        test_corrupt();
    657673
     674        // Test for the bug fix 21515d79d778b8730a434f151b07202d52a04611:
     675        // liblzma: Fix lzma_index_dup() for empty Streams.
     676        i = create_empty();
     677        expect(lzma_index_stream_padding(i, 4) == LZMA_OK);
     678        test_copy(i);
     679        lzma_index_end(i, NULL);
     680
     681        // Test for the bug fix 3bf857edfef51374f6f3fffae3d817f57d3264a0:
     682        // liblzma: Fix a memory leak in error path of lzma_index_dup().
     683        // Use Valgrind to see that there are no leaks.
     684        i = create_small();
     685        expect(lzma_index_dup(i, &my_allocator) == NULL);
     686        lzma_index_end(i, NULL);
     687
    658688        return 0;
    659689}
  • TabularUnified xz/vendor/current/windows/config.h

    r1791 r1993  
    1515/* Define to 1 if sha256 integrity check is enabled. */
    1616#define HAVE_CHECK_SHA256 1
     17
     18/* Define to 1 if any of HAVE_DECODER_foo have been defined. */
     19#define HAVE_DECODERS 1
    1720
    1821/* Define to 1 if arm decoder is enabled. */
     
    4245/* Define to 1 if x86 decoder is enabled. */
    4346#define HAVE_DECODER_X86 1
     47
     48/* Define to 1 if any of HAVE_ENCODER_foo have been defined. */
     49#define HAVE_ENCODERS 1
    4450
    4551/* Define to 1 if arm encoder is enabled. */
Note: See TracChangeset for help on using the changeset viewer.