Mercurial > libpst
comparison 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 |
comparison
equal
deleted
inserted
replaced
72:c21e9c001256 | 73:3cb02cb1e6cd |
---|---|
268 DEBUG_ENT("canonicalize_filename"); | 268 DEBUG_ENT("canonicalize_filename"); |
269 if (fname == NULL) { | 269 if (fname == NULL) { |
270 DEBUG_RET(); | 270 DEBUG_RET(); |
271 return; | 271 return; |
272 } | 272 } |
273 while (fname = strpbrk(fname, "/\\:")) | 273 while ((fname = strpbrk(fname, "/\\:"))) |
274 *fname = '_'; | 274 *fname = '_'; |
275 DEBUG_RET(); | 275 DEBUG_RET(); |
276 } | 276 } |
277 | 277 |
278 | 278 |