pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/25615: pkgsrc/sysutils/gnome-vfs fuction return value discrepancy



>Number:         25615
>Category:       pkg
>Synopsis:       For two functions, the definition disagrees with declaration
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 17 18:49:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     John R. Shannon
>Release:        NetBSD 2.0E
>Organization:
        johnrshannon.com
>Environment:
System: NetBSD colleen.internal.johnrshannon.com 2.0E NetBSD 2.0E (KERNEL) #0: 
Thu May 13 06:22:04 MDT 2004 
root%colleen.internal.johnrshannon.com@localhost:/usr/obj/usr/src/sys/arch/i386/compile/KERNEL
 i386
Architecture: i386
Machine: i386
>Description:
        For two functions, the definition disagrees with declaration. The patch
        below provides the details.
>How-To-Repeat:
        
>Fix:
        Two patches:

$NetBSD$

--- libgnomevfs/gnome-vfs-private-utils.c.orig  2001-07-16 12:21:07.000000000 
-0600
+++ libgnomevfs/gnome-vfs-private-utils.c
@@ -263,7 +263,7 @@ gnome_vfs_forkexec (const gchar *file_na
  * 
  * Return value: 
  **/
-GnomeVFSProcessResult
+GnomeVFSProcessRunResult
 gnome_vfs_process_run_cancellable (const gchar *file_name,
                                   const gchar * const argv[],
                                   GnomeVFSProcessOptions options,


$NetBSD$

--- libgnomevfs/gnome-vfs-process.c.orig        2001-07-16 12:21:07.000000000 
-0600
+++ libgnomevfs/gnome-vfs-process.c
@@ -258,7 +258,7 @@ gnome_vfs_process_free (GnomeVFSProcess 
  * 
  * Return value: A numeric value reporting the result of the operation.
  **/
-GnomeVFSProcessRunResult
+GnomeVFSProcessResult
 gnome_vfs_process_signal (GnomeVFSProcess *process,
                          guint signal_number)
 {
>Release-Note:
>Audit-Trail:
>Unformatted:



Home | Main Index | Thread Index | Old Index