Changeset 60d7935
- Timestamp:
- Feb 23, 2011, 12:09:26 AM (13 years ago)
- Branches:
- master, release-1.10, release-1.8, release-1.9
- Children:
- 1137802
- Parents:
- 5738650
- git-author:
- Anders Kaseorg <andersk@mit.edu> (02/12/11 00:50:27)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (02/23/11 00:09:26)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
logging.c
r3472845 r60d7935 131 131 132 132 /* expand ~ in path names */ 133 logpath = owl_ text_substitute(owl_global_get_logpath(&g), "~", owl_global_get_homedir(&g));133 logpath = owl_util_makepath(owl_global_get_logpath(&g)); 134 134 135 135 /* Figure out what path to log to */ … … 194 194 195 195 /* expand ~ in path names */ 196 logpath = owl_ text_substitute(owl_global_get_logpath(&g), "~", owl_global_get_homedir(&g));196 logpath = owl_util_makepath(owl_global_get_logpath(&g)); 197 197 198 198 snprintf(filename, MAXPATHLEN, "%s/%s", logpath, tobuff); … … 310 310 /* create the filename (expanding ~ in path names) */ 311 311 if (personal) { 312 logpath = owl_ text_substitute(owl_global_get_logpath(&g), "~", owl_global_get_homedir(&g));312 logpath = owl_util_makepath(owl_global_get_logpath(&g)); 313 313 snprintf(filename, MAXPATHLEN, "%s/%s", logpath, from); 314 314 snprintf(allfilename, MAXPATHLEN, "%s/all", logpath); … … 316 316 317 317 } else { 318 logpath = owl_ text_substitute(owl_global_get_classlogpath(&g), "~", owl_global_get_homedir(&g));318 logpath = owl_util_makepath(owl_global_get_classlogpath(&g)); 319 319 snprintf(filename, MAXPATHLEN, "%s/%s", logpath, from); 320 320 }
Note: See TracChangeset
for help on using the changeset viewer.