rpms/libdockapp/devel libdockapp-0.6.1-stdinc_decl.patch, 1.1, 1.2 libdockapp.spec, 1.4, 1.5

Patrice Dumas (pertusus) fedora-extras-commits at redhat.com
Sat Feb 2 11:59:29 UTC 2008


Author: pertusus

Update of /cvs/extras/rpms/libdockapp/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv516

Modified Files:
	libdockapp-0.6.1-stdinc_decl.patch libdockapp.spec 
Log Message:
* Sat Feb  2 2008 Patrice Dumas <pertusus at free.fr> 0.6.1-6
- more portable stdincl patch


libdockapp-0.6.1-stdinc_decl.patch:

Index: libdockapp-0.6.1-stdinc_decl.patch
===================================================================
RCS file: /cvs/extras/rpms/libdockapp/devel/libdockapp-0.6.1-stdinc_decl.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libdockapp-0.6.1-stdinc_decl.patch	10 Jan 2007 10:00:26 -0000	1.1
+++ libdockapp-0.6.1-stdinc_decl.patch	2 Feb 2008 11:59:19 -0000	1.2
@@ -1,5 +1,6 @@
---- dockapp-0.6.1/src/dashaped.c.stdinc_decl	2007-01-09 17:38:37.000000000 +0100
-+++ dockapp-0.6.1/src/dashaped.c	2007-01-09 17:39:04.000000000 +0100
+diff -up dockapp-0.6.1/src/dashaped.c.stdinc_decl dockapp-0.6.1/src/dashaped.c
+--- dockapp-0.6.1/src/dashaped.c.stdinc_decl	2005-04-27 19:37:57.000000000 +0200
++++ dockapp-0.6.1/src/dashaped.c	2008-02-02 12:47:19.000000000 +0100
 @@ -22,6 +22,7 @@
   */
  
@@ -8,18 +9,18 @@
  
  #include "dockapp.h"
  #include "daargs.h"
+diff -up dockapp-0.6.1/src/daargs.c.stdinc_decl dockapp-0.6.1/src/daargs.c
 --- dockapp-0.6.1/src/daargs.c.stdinc_decl	2005-07-16 13:49:10.000000000 +0200
-+++ dockapp-0.6.1/src/daargs.c	2007-01-09 17:41:00.000000000 +0100
-@@ -22,6 +22,8 @@
++++ dockapp-0.6.1/src/daargs.c	2008-02-02 12:52:18.000000000 +0100
+@@ -22,6 +22,7 @@
   */
  
  #include <assert.h>
-+#include <strings.h>
 +#include <string.h>
  
  #include "daargs.h"
  #include "dautil.h"
-@@ -38,6 +40,9 @@
+@@ -38,6 +39,9 @@ static void _daContextAddDefaultOptions(
  static void _daContextAddOptions(DAProgramOption *options, int count);
  static void printHelp(char *description);
  
@@ -29,8 +30,27 @@
  
  /*
   * Public functions
+@@ -63,7 +67,7 @@ DAParseArguments(
+ 
+     size = (count + DEFAULT_OPTION_COUNT) * sizeof(DAProgramOption*);
+     _daContext->options		= malloc(size);
+-    bzero(_daContext->options, size);
++    memset(_daContext->options, '\0',  size);
+ 
+     _daContextAddDefaultOptions();
+     _daContextAddOptions(options, count);
+@@ -209,7 +213,7 @@ DAContextInit()
+ {
+     struct DAContext *context = malloc(sizeof(struct DAContext));
+ 
+-    bzero(context, sizeof(struct DAContext));
++    memset(context, '\0', sizeof(struct DAContext));
+ 
+     return context;
+ }
+diff -up dockapp-0.6.1/src/dautil.c.stdinc_decl dockapp-0.6.1/src/dautil.c
 --- dockapp-0.6.1/src/dautil.c.stdinc_decl	2005-04-20 20:05:04.000000000 +0200
-+++ dockapp-0.6.1/src/dautil.c	2007-01-09 17:37:02.000000000 +0100
++++ dockapp-0.6.1/src/dautil.c	2008-02-02 12:47:19.000000000 +0100
 @@ -21,6 +21,8 @@
   * $Id$
   */


Index: libdockapp.spec
===================================================================
RCS file: /cvs/extras/rpms/libdockapp/devel/libdockapp.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- libdockapp.spec	26 Dec 2007 23:43:58 -0000	1.4
+++ libdockapp.spec	2 Feb 2008 11:59:19 -0000	1.5
@@ -3,7 +3,7 @@
 
 Name:           libdockapp
 Version:        0.6.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        DockApp Development Standard Library
 
 Group:          System Environment/Libraries
@@ -116,6 +116,9 @@
 %{catalogue}/dockapp
 
 %changelog
+* Sat Feb  2 2008 Patrice Dumas <pertusus at free.fr> 0.6.1-6
+- more portable stdincl patch
+
 * Thu Dec 27 2007 Patrice Dumas <pertusus at free.fr> 0.6.1-5
 - minor cleanups
 




More information about the fedora-extras-commits mailing list