lp:binfmt-support

Created by Colin Watson and last modified
Get this branch:
bzr branch lp:binfmt-support

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Colin Watson
Project:
binfmt-support
Status:
Mature

Import details

Import Status: Reviewed

This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/binfmt-support.git.

The next import is scheduled to run .

Last successful import was .

Import started on juju-1e3bde-prod-lp-code-import-16 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-13 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-12 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-17 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-16 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-15 and finished taking 10 seconds — see the log
Import started on juju-1e3bde-prod-lp-code-import-14 and finished taking 10 seconds — see the log

Recent revisions

242. By Colin Watson

Update some obsolete Autoconf macros

* configure.ac: Replace AC_GNU_SOURCE and AC_ISC_POSIX with
AC_USE_SYSTEM_EXTENSIONS. Replace AC_CONFIG_HEADER with
AC_CONFIG_HEADERS.

241. By Colin Watson

Version: 2.2.1

240. By Colin Watson

NEWS: Document changes for 2.2.1

239. By Colin Watson

Fix build with gcc -fno-common

Fixes Debian bug #957038.

* src/paths.h (admindir, importdir, procdir, auxdir): Declare as extern.

238. By Colin Watson

Ensure that standard I/O streams are open

Otherwise behaviour is undefined if somebody (unwisely) closes them
before calling us.

* bootstrap.conf (gnulib_modules): Add xstdopen.
* src/update-binfmts.c (main): Call xstdopen.

237. By Colin Watson

Replace kvhash with gl_map/gl_omap

A list was a clumsy implementation of this; a map is more appropriate.

* bootstrap.conf (gnulib_modules): Add hash-map, hash-pjw-bare,
rbtree-omap, stdbool, xmap, and xomap; remove rbtreehash-list.

* src/glcontainers.c: New file.
* src/glcontainers.h (string_equals, string_hash, plain_free,
new_string_map, new_string_omap, map_contains, omap_contains): Add
prototypes.
(GL_OMAP_FOREACH_START, GL_OMAP_FOREACH_END): New macros.

* src/format.c (binfmt_new): Take a map rather than a list.
(kvhash_dispose_binfmt): Remove.
* src/format.h (binfmt_new): Update prototype.
(kvhash_dispose_binfmt): Remove prototype.

* src/update-binfmts.c (formats): Declare as a map rather than a list.
(get_import, load_format, act_enable, act_disable, act_install,
act_remove, act_import, act_unimport, act_display, main): Update to the
map API.
(act_import, act_unimport): Free import before returning.

* src/kvhash.c, src/kvhash.h: Remove.

* src/Makefile.am (COMMON): Add glcontainers.c; remove kvhash.c and
kvhash.h.

236. By Helmut Grohne <email address hidden>

Fix wrongly-documented "fix_binary" format entry

The manual page says:

| The magic, offset, mask, extension, detector, credentials, preserve, and
| fix-binary options correspond to the command-line options of the same
| names.

However, the code parses "fix_binary" rather than "fix-binary". Use of
"fix-binary" is silently ignored.

Fixes Debian bug #945020.

* man/update-binfmts.man8 (FORMAT FILES): Correct spelling of
"fix_binary" option.

235. By Colin Watson

Use macros for common cases of list iteration

* src/glcontainers.h: New file.
* src/Makefile.am (COMMON): Add glcontainers.h.
* src/find.c (find_interpreters): Replace manual list iteration with
equivalent macros.
* src/run-detectors.c (main): Likewise.
* src/update-binfmts.c (act_enable, act_disable, act_display): Likewise.

234. By Colin Watson

Version: 2.2.0

233. By Colin Watson

Update to Gnulib 20190124

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
This branch contains Public information 
Everyone can see this information.

Subscribers