rc-scripts/trunk/src: shvar.c shvar.h

arekm cvs at pld-linux.org
Tue Nov 1 19:34:04 CET 2005


Author: arekm
Date: Tue Nov  1 19:33:54 2005
New Revision: 6510

Modified:
   rc-scripts/trunk/src/shvar.c
   rc-scripts/trunk/src/shvar.h
Log:
Be more precise about condition.

Modified: rc-scripts/trunk/src/shvar.c
==============================================================================
--- rc-scripts/trunk/src/shvar.c	(original)
+++ rc-scripts/trunk/src/shvar.c	Tue Nov  1 19:33:54 2005
@@ -336,7 +336,7 @@
     goto end;
 }
 
-/* Write the current contents if modified.  Returns -1 on error
+/* Write the current contents iff modified.  Returns -1 on error
  * and 0 on success.  Do not write if no values have been modified.
  * The mode argument is only used if creating the file, not if
  * re-writing an existing file, and is passed unchanged to the

Modified: rc-scripts/trunk/src/shvar.h
==============================================================================
--- rc-scripts/trunk/src/shvar.h	(original)
+++ rc-scripts/trunk/src/shvar.h	Tue Nov  1 19:33:54 2005
@@ -81,7 +81,7 @@
 svSetValue(shvarFile *s, const char *key, const char *value);
 
 
-/* Write the current contents if modified.  Returns -1 on error
+/* Write the current contents iff modified.  Returns -1 on error
  * and 0 on success.  Do not write if no values have been modified.
  * The mode argument is only used if creating the file, not if
  * re-writing an existing file, and is passed unchanged to the



More information about the pld-cvs-commit mailing list