Annotation of OpenXM/src/util/test.c, Revision 1.3
1.3 ! takayama 1: /* $OpenXM: OpenXM/src/util/test.c,v 1.2 2003/11/16 07:14:44 takayama Exp $ */
1.1 takayama 2: #include <stdio.h>
3: #include "ox_pathfinder.h"
4:
5: sGC_malloc(int a) {
6: return GC_malloc(a);
7: }
8:
9: /* which command */
10: main(int argc,char *argv[]) {
11: if (argc != 2) {
12: fprintf(stderr,"test cmdname");
13: }
14: printf("%s\n",getCommandPath(argv[1]));
1.3 ! takayama 15:
! 16: printf("%s (cyg) ==> %s (win)\n",argv[1],cygwinPathToWinPath(argv[1]));
! 17: printf("%s (win) ==> %s (cyg)\n",argv[1],winPathToCygwinPath(argv[1]));
1.1 takayama 18: }
19:
20:
21:
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>