# HG changeset patch # User Andre Heinecke # Date 1396016333 0 # Node ID dd417a2ff9cd6e4b231a177133c2624b7c01d0a6 # Parent 6435e28ae75340dfebc3786431a7cccc98a36e28 Specifiy unspecified behavior if there is an install and remove instruction for the same certificate. diff -r 6435e28ae753 -r dd417a2ff9cd cinst/mozilla.c --- a/cinst/mozilla.c Fri Mar 28 14:00:21 2014 +0000 +++ b/cinst/mozilla.c Fri Mar 28 14:18:53 2014 +0000 @@ -4,12 +4,12 @@ * * Reads from stdin a list of instructions in the form: * - * I:\r\n - * R:\r\n + * I: + * R: * ... * - * The maximum size of an input line is 9999 characters - * (including the \r\n) at the end of the line. + * With one instruction per line. the maximum size of an input + * line is 9999 characters (including the \r\n) at the end of the line. * * Certificates marked with I: will be installed and the ones * marked with R: will be searched and if available removed from @@ -22,6 +22,10 @@ * has to ensure that those are terminated before this process is * executed. * + * If the same certificate is marked to be installed and to be removed + * in one call the behavior is undefined. This should be avoided and + * may lead to errors. + * * Returns 0 on success (Even when no stores where found) an error value * as defined in errorcodes.h otherwise. *