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

List:       cups-commit
Subject:    [cups.commit] [CUPS] r8725 - in trunk: . cups
From:       cups-dev () easysw ! com
Date:       2009-06-22 20:44:35
Message-ID: 9494-cups.commit () news ! easysw ! com
[Download RAW message or body]

Author: mike
Date: 2009-06-22 13:44:34 -0700 (Mon, 22 Jun 2009)
New Revision: 8725
Log:
Document that the caller has to call unlink on the returned filename (STR #3230)


Modified:
   trunk/CHANGES.txt
   trunk/cups/util.c

Modified: trunk/CHANGES.txt
===================================================================
--- trunk/CHANGES.txt	2009-06-22 20:40:28 UTC (rev 8724)
+++ trunk/CHANGES.txt	2009-06-22 20:44:34 UTC (rev 8725)
@@ -4,7 +4,8 @@
 CHANGES IN CUPS V1.4.0
 
 	- Localization updates (STR #3223)
-	- Documentation updates (STR #3225)
+	- Documentation updates (STR #3225, STR #3230)
+	- Fixed a GNU TLS compatibility issue (STR #3231)
 	- Fixed a HTML error in the add and modify printer web interface templates
 	  (STR #3229)
 	- The scheduler did not minimize the number of printer state events that

Modified: trunk/cups/util.c
===================================================================
--- trunk/cups/util.c	2009-06-22 20:40:28 UTC (rev 8724)
+++ trunk/cups/util.c	2009-06-22 20:44:34 UTC (rev 8725)
@@ -809,7 +809,8 @@
  * in the class.
  *
  * The returned filename is stored in a static buffer and is overwritten with
- * each call to @code cupsGetPPD@ or @link cupsGetPPD2@.
+ * each call to @code cupsGetPPD@ or @link cupsGetPPD2@.  The caller "owns" the
+ * file that is created and must @code unlink@ the returned filename.
  */
 
 const char *				/* O - Filename for PPD file */
@@ -840,7 +841,8 @@
  * in the class.
  *
  * The returned filename is stored in a static buffer and is overwritten with
- * each call to @link cupsGetPPD@ or @code cupsGetPPD2@.
+ * each call to @link cupsGetPPD@ or @code cupsGetPPD2@.  The caller "owns" the
+ * file that is created and must @code unlink@ the returned filename.
  *
  * @since CUPS 1.1.21/Mac OS X 10.4@
  */
@@ -873,7 +875,8 @@
  *
  * The "buffer" parameter contains the local PPD filename.  If it contains
  * the empty string, a new temporary file is created, otherwise the existing
- * file will be overwritten as needed.
+ * file will be overwritten as needed.  The caller "owns" the file that is
+ * created and must @code unlink@ the returned filename.
  *
  * On success, @code HTTP_OK@ is returned for a new PPD file and
  * @code HTTP_NOT_MODIFIED@ if the existing PPD file is up-to-date.  Any other

_______________________________________________
cups-commit mailing list
cups-commit@easysw.com
http://lists.easysw.com/mailman/listinfo/cups-commit
[prev in list] [next in list] [prev in thread] [next in thread] 

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