[2776] in BarnOwl Developers

home help back first fref pref prev next nref lref last post

[PATCH] Made a useless comment in owl_util_file_deleteline useful.

daemon@ATHENA.MIT.EDU (Jason Gross)
Sun Nov 14 03:22:23 2010

From: Jason Gross <jgross@MIT.EDU>
To: barnowl-dev@mit.edu
Date: Sun, 14 Nov 2010 03:22:21 -0500

---
 util.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/util.c b/util.c
index e8e5c88..4fef3eb 100644
--- a/util.c
+++ b/util.c
@@ -389,7 +389,7 @@ int owl_util_file_deleteline(const char *filename, const char *line, int backup)
   struct stat st;
   int numremoved = 0;
 
-  /* canonicalize filename and handle errors */
+  /* canonicalize filename, so that we deal with with symlinks correctly */
   actual_filename = canonicalize_file_name(filename);
   if (actual_filename == NULL) {
     owl_function_error("Cannot canonicalize file name %s: %s",
-- 
1.7.1


home help back first fref pref prev next nref lref last post