lp:binfmt-support
- Get this branch:
- bzr branch lp:binfmt-support
Branch merges
Branch information
Import details
This branch is an import of the HEAD branch of the Git repository at git://git.sv.gnu.org/binfmt-support.git.
Last successful import was .
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. - 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.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)