1. 04 Apr, 2017 1 commit
    • Andrei Borzenkov's avatar
      i386, x86_64, ppc: fix switch fallthrough cases with GCC7 · 4bd4a887
      Andrei Borzenkov authored
      In util/getroot and efidisk slightly modify exitsing comment to mostly
      retain it but still make GCC7 compliant with respect to fall through
      annotation.
      
      In grub-core/lib/xzembed/xz_dec_lzma2.c it adds same comments as
      upstream.
      
      In grub-core/tests/setjmp_tets.c declare functions as "noreturn" to
      suppress GCC7 warning.
      
      In grub-core/gnulib/regexec.c use new __attribute__, because existing
      annotation is not recognized by GCC7 parser (which requires that comment
      immediately precedes case statement).
      
      Otherwise add FALLTHROUGH comment.
      
      Closes: 50598
      4bd4a887
  2. 05 Mar, 2015 1 commit
    • Andrei Borzenkov's avatar
      update gnulib/argp-help.c to fix garbage in grub-mknetdir --help output · 8842991a
      Andrei Borzenkov authored
      argp_help attempts to translate empty string, which results in printing
      meta information about translation, like in
      
      bor@opensuse:~/build/grub> grub2-mknetdir --help
      Использование: grub2-mknetdir [ПАРАМЕТР…]
      Project-Id-Version: grub 2.02-pre2
      Report-Msgid-Bugs-To: bug-grub@gnu.org
      ...
      
      Update gnulib/argp-help.c to the current version which fixes this
      (commit b9bfe78424b871f5b92e5ee9e7d21ef951a6801d).
      8842991a
  3. 15 Oct, 2013 1 commit
  4. 11 Apr, 2013 1 commit
  5. 28 Dec, 2012 1 commit
  6. 18 Nov, 2012 1 commit
  7. 10 Mar, 2012 1 commit
  8. 29 Feb, 2012 1 commit
  9. 26 Feb, 2012 2 commits
  10. 09 Feb, 2012 1 commit
  11. 29 Jan, 2012 1 commit
  12. 30 Nov, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Add missing const qualifiers. · bf3a3857
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/commands/i386/pc/sendkey.c (keysym): Add missing const.
      	* grub-core/commands/lspci.c (grub_pci_classname): Likewise.
      	* grub-core/commands/menuentry.c (hotkey_aliases): Likewise.
      	* grub-core/disk/lvm.c (grub_lvm_getvalue): Likewise.
      	(grub_lvm_check_flag): Likewise.
      	* grub-core/efiemu/i386/coredetect.c
      	(grub_efiemu_get_default_core_name): Likewise
      	* grub-core/efiemu/main.c (grub_efiemu_autocore): Likewise.
      	* grub-core/fs/hfsplus.c (grub_hfsplus_catkey_internal): Likewise.
      	* grub-core/fs/ntfs.c (fixup): Likewise.
      	* grub-core/fs/xfs.c (grub_xfs_iterate_dir): Likewise.
      	* grub-core/fs/zfs/zfs.c (decomp_entry): Likewise.
      	(fzap_lookup): Likewise.
      	(zap_lookup): Likewise.
      	* grub-core/gnulib/regcomp.c (init_dfa): Likewise.
      	* grub-core/lib/legacy_parse.c (check_option): Likewise.
      	* grub-core/lib/posix_wrap/langinfo.h (nl_langinfo): Likewise.
      	* grub-core/loader/i386/bsd.c (grub_bsd_add_meta): Likewise.
      	(grub_freebsd_add_meta_module): Likewise.
      	(grub_cmd_freebsd_module): Likewise.
      	* grub-core/loader/i386/xnu.c (tbl_alias): Likewise.
      	* grub-core/loader/xnu.c (grub_xnu_register_memory): Likewise.
      	(grub_xnu_writetree_get_size): Likewise.
      	(grub_xnu_writetree_toheap_real): Likewise.
      	(grub_xnu_find_key): Likewise.
      	(grub_xnu_create_key): Likewise.
      	(grub_xnu_create_value): Likewise.
      	(grub_xnu_register_memory): Likewise.
      	(grub_xnu_check_os_bundle_required): Likewise.
      	(grub_xnu_scan_dir_for_kexts): Likewise.
      	(grub_xnu_load_kext_from_dir): Likewise.
      	* grub-core/normal/color.c (color_list): Likewise.
      	* grub-core/normal/completion.c (current_word): Likewise.
      	* grub-core/normal/menu_entry.c (insert_string): Likewise.
      	* grub-core/term/serial.c (grub_serial_find): Likewise.
      	* grub-core/term/tparm.c (grub_terminfo_tparm): Likewise.
      	* include/grub/efiemu/efiemu.h (grub_efiemu_get_default_core_name):
      	Likewise.
      	* include/grub/i386/bsd.h (grub_bsd_add_meta): Likewise.
      	(grub_freebsd_add_meta_module): Likewise.
      	* include/grub/lib/arg.h (grub_arg_option): Likewise.
      	* include/grub/net.h (grub_net_card_driver): Likewise.
      	(grub_net_card): Likewise.
      	(grub_net_app_protocol): Likewise.
      	* include/grub/parttool.h (grub_parttool_argdesc): Likewise.
      	* include/grub/serial.h (grub_serial_find): Likewise.
      	* include/grub/tparm.h (grub_terminfo_tparm): Likewise.
      	* include/grub/xnu.h (grub_xnu_create_key): Likewise.
      	(grub_xnu_create_value): Likewise.
      	(grub_xnu_find_key): Likewise.
      	(grub_xnu_scan_dir_for_kexts): Likewise.
      	(grub_xnu_load_kext_from_dir): Likewise.
      
      	* include/grub/zfs/zio_checksum.h (zio_checksum_t): Moved from here ...
      	* grub-core/fs/zfs/zfs.c (zio_checksum_t): ...here.
      	* include/grub/zfs/zio_checksum.h (zio_checksum_info):
      	Moved from here ...
      	* grub-core/fs/zfs/zfs.c (zio_checksum_info): ... here. Added missing const.
      bf3a3857
  13. 25 Apr, 2011 1 commit
  14. 11 Apr, 2011 1 commit
  15. 10 Apr, 2011 1 commit
  16. 20 Sep, 2010 2 commits
    • Colin Watson's avatar
      Fix po directory handling. · 269004c1
      Colin Watson authored
      * configure.ac: Create po/Makefile.in rather than po/Makefile.
      * grub-core/gnulib/Makefile.am: Import gettext module.
      * m4/gnulib-cache.m4: Likewise.
      * m4/gnulib-comp.m4: Likewise.
      * m4/gettext.m4: New file, from gnulib.
      * m4/glibc2.m4: Likewise.
      * m4/iconv.m4: Likewise.
      * m4/intdiv0.m4: Likewise.
      * m4/intl.m4: Likewise.
      * m4/intldir.m4: Likewise.
      * m4/intlmacosx.m4: Likewise.
      * m4/intmax.m4: Likewise.
      * m4/inttypes-pri.m4: Likewise.
      * m4/lcmessage.m4: Likewise.
      * m4/lib-ld.m4: Likewise.
      * m4/lib-link.m4: Likewise.
      * m4/lib-prefix.m4: Likewise.
      * m4/lock.m4: Likewise.
      * m4/nls.m4: Likewise.
      * m4/po.m4: Likewise.
      * m4/printf-posix.m4: Likewise.
      * m4/progtest.m4: Likewise.
      * m4/threadlib.m4: Likewise.
      * m4/uintmax_t.m4: Likewise.
      * m4/visibility.m4: Likewise.
      * po/Makefile.am: Remove.
      * po/Makefile.in.in: New file, from gettext.
      ($(DOMAIN).pot-update): Support POTFILES-shell.
      * po/Makevars: New file.
      * po/POTFILES-shell: Rename to ...
      * po/POTFILES-shell.in: ... this.  Update.
      * po/POTFILES: Rename to ...
      * po/POTFILES.in: ... this.  Update.
      * po/Rules-quot: New file, from gettext.
      * po/boldquot.sed: Likewise.
      * po/en@boldquot.header: Likewise.
      * po/en@quot.header: Likewise.
      * po/insert-header.sin: Likewise.
      * po/quot.sed: Likewise.
      * po/remove-potcdate.sin: Likewise.
      269004c1
    • Yves Blusseau's avatar
      Use gnulib-tool to create gnulib source files. · 15c69261
      Yves Blusseau authored
          * Add gnulib files generated by gnulib-tool in build-aux, m4 and
          grub-core/gnulib directories
          * .bzignore: Add **/.deps and autogenerated gnulib files
          * configure.ac: Assign auxiliary directory to build-aux, add invocation
          of gnulib macros, add grub-core/gnulib/Makefile
          * Makefile.am: Add gnulib directory in SUBDIRS (removing unnecessary .),
          include m4 directory to aclocal.
          * Makefile.util.def: Remove direct compilation of gnulib source files
          and use the new grub-core/gnulib/libgnu.a.
          * build-aux/config.rpath: move config.rpath from top directory to
          build-aux
          * conf/Makefile.common: Remove the macro _GL_UNUSED already defined
          in gnulib headers
          * conf/Makefile.extra-dist: Add m4/gnulib-cache.m4
          * grub-core/Makefile.core.def: Remove unnecessary extra_dist
          * grub-core/lib/posix_wrap/localcharset.h (locale_charset): Update
          header.
          * grub-core/lib/posix_wrap/langinfo.h (nl_langinfo): Return static
          string.
      15c69261
  17. 15 Sep, 2010 2 commits
  18. 06 May, 2010 1 commit