src/inc/portable.h 1.28

1.28 2009/11/22 00:18:05 kent
Adding simplifyPathToDir
Index: src/inc/portable.h
===================================================================
RCS file: /projects/compbio/cvsroot/kent/src/inc/portable.h,v
retrieving revision 1.27
retrieving revision 1.28
diff -b -B -U 4 -r1.27 -r1.28
--- src/inc/portable.h	8 Jul 2009 16:24:25 -0000	1.27
+++ src/inc/portable.h	22 Nov 2009 00:18:05 -0000	1.28
@@ -67,8 +67,11 @@
  * already exist.  Abort with error message if there's a problem.
  * (It's not considered a problem for the directory to already
  * exist. ) */
 
+char *simplifyPathToDir(char *path);
+/* Return path with ~ (for home) and .. taken out.   freeMem result when done. */
+
 long clock1000();
 /* 1000 hz clock */
 
 void sleep1000(int milli);