Wireshark-bugs: [Wireshark-bugs] [Bug 9576] New: Replace g_memmove with memmove
Date: Wed, 18 Dec 2013 09:52:36 +0000
Bug ID 9576
Summary Replace g_memmove with memmove
Classification Unclassified
Product Wireshark
Version unspecified
Hardware All
OS All
Status UNCONFIRMED
Severity Normal
Priority Low
Component Wireshark
Assignee bugzilla-admin@wireshark.org
Reporter lemenkov@gmail.com

Created attachment 12342 [details]
Initial patch

Build Information:
wireshark 1.11.3 (SVN Rev 54210 from remove_g_memmove)

Copyright 1998-2013 Gerald Combs <gerald@wireshark.org> and contributors.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) with GTK+ 2.24.22, with Cairo 1.12.14, with Pango 1.34.1,
with
GLib 2.36.3, with libpcap, with libz 1.2.7, with POSIX capabilities (Linux),
without libnl, with SMI 0.4.8, with c-ares 1.10.0, with Lua 5.1, without
Python,
with GnuTLS 3.1.16, with Gcrypt 1.5.3, with MIT Kerberos, with GeoIP, with
PortAudio V19-devel (built May  4 2013 13:59:07), with AirPcap.

Running on Linux 3.11.10-200.fc19.x86_64, with locale ru_RU.UTF-8, with libpcap
version 1.4.0, with libz 1.2.7, GnuTLS 3.1.16, Gcrypt 1.5.3, without AirPcap.
Intel(R) Core(TM)2 Duo CPU     E7300  @ 2.66GHz

Built using gcc 4.8.2 20131017 (Red Hat 4.8.2-1).
--
Hello All

Recent Glib versions no longer offers this macro, and requires C90 (not C99)
compliance. So we have to fallback to C90 memmove. It also requires POSIX.1
(1990) compliance on unix targets but that's another story.

See these links for further details:

https://git.gnome.org/browse/glib/commit/?id=6e4a7fc
https://git.gnome.org/browse/glib/commit/?id=3981cdd
https://git.gnome.org/browse/glib/commit/?id=91dd70c

Build fails w/o this patch on Fedora 21 (with a very recent Glib):

http://koji.fedoraproject.org/koji/getfile?taskID=6308372&name=build.log


You are receiving this mail because:
  • You are watching all bug changes.