diff src/lspst.c @ 73:3cb02cb1e6cd stable-0-6-10

Patch from Robert Simpson to fix doubly-linked list in the cache_ptr code, and allow arrays of unicode strings (without converting them). More changes for Fedora packaging (#434727) Fixes for const correctness.
author Carl Byington <carl@five-ten-sg.com>
date Thu, 29 May 2008 18:51:02 -0700
parents 7d5c637aaafb
children 7133b39975f7
line wrap: on
line diff
--- a/src/lspst.c	Fri May 16 09:06:17 2008 -0700
+++ b/src/lspst.c	Thu May 29 18:51:02 2008 -0700
@@ -270,7 +270,7 @@
         DEBUG_RET();
         return;
     }
-    while (fname = strpbrk(fname, "/\\:"))
+    while ((fname = strpbrk(fname, "/\\:")))
         *fname = '_';
     DEBUG_RET();
 }