[Bug 417811] New: argv should be const in g_spawn declaration
glib (bugzilla.gnome.org)
bugzilla-daemon at bugzilla.gnome.org
Tue Mar 13 11:32:58 CET 2007
Do not reply to this via email (we are currently unable to handle email
responses and they get discarded). You can add comments to this bug at
http://bugzilla.gnome.org/show_bug.cgi?id=417811
glib | general | Ver: unspecified
Summary: argv should be const in g_spawn declaration
Product: glib
Version: unspecified
Platform: Other
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: Normal
Component: general
AssignedTo: gtkdev at gtk.org
ReportedBy: lool+gnome at via.ecp.fr
QAContact: gtkdev at gtk.org
CC: pkg-gnome-maintainers at lists.alioth.debian.org
GNOME version: Unspecified
GNOME milestone: Unspecified
Hi,
Jasen Betts reported in Debian bug http://bugs.debian.org/414655:
"""
the declarations of g_spawn_asnyc (etc)
(http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html#g-spaw
n-sync)
shold probably have argv and envp declared as
const gchar ** argv
or even
const gchar * const * argv
Unless they modify those arrays. (in which case the modifications should be
documented)
"""
Bye,
--
Configure bugmail: http://bugzilla.gnome.org/userprefs.cgi?tab=email
More information about the Pkg-gnome-maintainers
mailing list