All of lore.kernel.org
 help / color / mirror / Atom feed
* [refpolicy] [PATCH 1/3] fc_sort: fix typos in comments
@ 2014-03-23 21:01 Nicolas Iooss
  2014-03-23 21:01 ` [refpolicy] [PATCH 2/3] fc_sort: initialize allocated memory to fix execution on an empty file Nicolas Iooss
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Nicolas Iooss @ 2014-03-23 21:01 UTC (permalink / raw)
  To: refpolicy

---
 support/fc_sort.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/support/fc_sort.c b/support/fc_sort.c
index e03ef3b..29e2ce9 100644
--- a/support/fc_sort.c
+++ b/support/fc_sort.c
@@ -81,7 +81,7 @@ typedef struct file_context_bucket {
  *      -> a is less specific than b.
  *     If a's string length is shorter than b's string length,
  *      -> a is less specific than b.
- *     If a does not have a specified type and b does not,
+ *     If a does not have a specified type and b does,
  *      -> a is less specific than b.
  */
 int fc_compare(file_context_node_t *a, file_context_node_t *b)
@@ -496,7 +496,7 @@ int main(int argc, char *argv[])
 		bcurrent->data = current;
 		current = current->next;
 
-		/* Detatch the node in the bucket from the old list. */
+		/* Detach the node in the bucket from the old list. */
 		bcurrent->data->next = NULL;
 
 		/* If there should be another bucket, put one at the end. */
-- 
1.9.0

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-04 19:51 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-23 21:01 [refpolicy] [PATCH 1/3] fc_sort: fix typos in comments Nicolas Iooss
2014-03-23 21:01 ` [refpolicy] [PATCH 2/3] fc_sort: initialize allocated memory to fix execution on an empty file Nicolas Iooss
2014-03-23 21:01 ` [refpolicy] [PATCH 3/3] fc_sort: make outfile argument optional Nicolas Iooss
2014-04-04 19:51 ` [refpolicy] [PATCH 1/3] fc_sort: fix typos in comments Christopher J. PeBenito

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.