Bug#414655: libglib2.0-dev: argv should be const in g_spawn declaration

Jasen Betts jasen at nikita.treshna.com
Tue Mar 13 04:03:48 CET 2007


Package: libglib2.0-dev
Version: 2.12.4-2
Severity: minor


the declarations of g_spawn_asnyc (etc)
(http://developer.gnome.org/doc/API/2.0/glib/glib-Spawning-Processes.html#g-spawn-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)

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.19.2
Locale: LANG=en_NZ, LC_CTYPE=en_NZ (charmap=ISO-8859-1)

Versions of packages libglib2.0-dev depends on:
ii  libc6-dev [libc-dev]        2.3.6.ds1-11 GNU C Library: Development Librari
ii  libglib2.0-0                2.12.4-2     The GLib library of C routines
ii  pkg-config                  0.21-1       manage compile and link flags for 

libglib2.0-dev recommends no packages.

-- no debconf information





More information about the Pkg-gnome-maintainers mailing list