[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop: [474]
From:       gespinasse () users ! sourceforge ! net
Date:       2007-08-12 23:15:46
Message-ID: E1IKMew-0000v4-Om () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]

Revision: 474
          http://ipcop.svn.sourceforge.net/ipcop/?rev=474&view=rev
Author:   gespinasse
Date:     2007-08-12 16:15:46 -0700 (Sun, 12 Aug 2007)

Log Message:
-----------
Add a comment why we check that files exist before tar creation

Modified Paths:
--------------
    ipcop/trunk/src/misc-progs/ipcopbkcfg.c

Modified: ipcop/trunk/src/misc-progs/ipcopbkcfg.c
===================================================================
--- ipcop/trunk/src/misc-progs/ipcopbkcfg.c	2007-08-11 13:59:44 UTC (rev 473)
+++ ipcop/trunk/src/misc-progs/ipcopbkcfg.c	2007-08-12 23:15:46 UTC (rev 474)
@@ -143,6 +143,8 @@
 		/* validate name and add it */
 		chdir ("/"); /* support both absolute and relative path */
 		if (strlen(fbuff)>0) {
+			/* checking if a file exist ensure to have no error
+			 * on tar creation if a file is not present */
 			if (file_exists(fbuff)) {
 				strcat(fbuff, "\n");
 				write(outfile, fbuff, strlen(fbuff));


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic