Searched refs:rootDir (Results 1 - 2 of 2) sorted by relevance

/xsrc/external/mit/xkbprint/dist/
H A Dxkbprint.c58 static char * rootDir; variable in typeref:typename:char *
359 else if (rootDir != NULL) {
361 uAction("Using %s, ignoring %s\n", rootDir, argv[i]);
364 rootDir = &argv[i][2];
407 if (rootDir) {
409 uWarning("Changing root directory to \"%s\"\n", rootDir);
411 if ((chdir(rootDir) < 0) && (warningLevel > 0)) {
412 uWarning("Couldn't change root directory to \"%s\"\n", rootDir);
/xsrc/external/mit/xkbcomp/dist/
H A Dxkbcomp.c82 static const char *rootDir; variable in typeref:typename:const char *
534 else if (rootDir != NULL)
539 ACTION("Using %s, ignoring %s\n", rootDir, argv[i]);
544 rootDir = &argv[i][2];
547 WARN("Changing root directory to \"%s\"\n", rootDir);
549 if (chdir(rootDir) == 0)
554 WARN("Couldn't change directory to \"%s\"\n", rootDir);
556 rootDir = NULL;

Completed in 4 milliseconds