* cygcheck.cc: Replace ` with ' throughout.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2006-01-12  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
|  | 	* cygcheck.cc: Replace ` with ' throughout. | ||||||
|  |  | ||||||
| 2006-01-05  Christopher Faylor  <cgf@timesys.com> | 2006-01-05  Christopher Faylor  <cgf@timesys.com> | ||||||
|  |  | ||||||
| 	* cygcheck.cc (dump_sysinfo): Report the failing drive to prevent | 	* cygcheck.cc (dump_sysinfo): Report the failing drive to prevent | ||||||
|   | |||||||
| @@ -815,7 +815,7 @@ scan_registry (RegInfo * prev, HKEY hKey, char *name, int cygnus) | |||||||
| 		break; | 		break; | ||||||
| 	      case REG_EXPAND_SZ: | 	      case REG_EXPAND_SZ: | ||||||
| 	      case REG_SZ: | 	      case REG_SZ: | ||||||
| 		printf ("`%s'\n", value_data); | 		printf ("'%s'\n", value_data); | ||||||
| 		break; | 		break; | ||||||
| 	      default: | 	      default: | ||||||
| 		printf ("(unsupported type)\n"); | 		printf ("(unsupported type)\n"); | ||||||
| @@ -861,7 +861,7 @@ pretty_id (const char *s, char *cygwin, size_t cyglen) | |||||||
|  |  | ||||||
|   if (access (id, X_OK)) |   if (access (id, X_OK)) | ||||||
|     { |     { | ||||||
|       fprintf (stderr, "`id' program not found\n"); |       fprintf (stderr, "'id' program not found\n"); | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -876,7 +876,7 @@ pretty_id (const char *s, char *cygwin, size_t cyglen) | |||||||
|     uid += strlen ("uid="); |     uid += strlen ("uid="); | ||||||
|   else |   else | ||||||
|     { |     { | ||||||
|       fprintf (stderr, "garbled output from `id' command - no uid= found\n"); |       fprintf (stderr, "garbled output from 'id' command - no uid= found\n"); | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
|   char *gid = strtok (NULL, ")"); |   char *gid = strtok (NULL, ")"); | ||||||
| @@ -884,7 +884,7 @@ pretty_id (const char *s, char *cygwin, size_t cyglen) | |||||||
|     gid += strlen ("gid=") + 1; |     gid += strlen ("gid=") + 1; | ||||||
|   else |   else | ||||||
|     { |     { | ||||||
|       fprintf (stderr, "garbled output from `id' command - no gid= found\n"); |       fprintf (stderr, "garbled output from 'id' command - no gid= found\n"); | ||||||
|       return; |       return; | ||||||
|     } |     } | ||||||
|  |  | ||||||
| @@ -1195,7 +1195,7 @@ dump_sysinfo () | |||||||
| 	  if (strcmp (environ[i], "PATH") == 0) | 	  if (strcmp (environ[i], "PATH") == 0) | ||||||
| 	    continue;		/* we handle this one specially */ | 	    continue;		/* we handle this one specially */ | ||||||
| 	  if (strcasecmp (environ[i], known_env_vars[j]) == 0) | 	  if (strcasecmp (environ[i], known_env_vars[j]) == 0) | ||||||
| 	    printf ("%s = `%s'\n", environ[i], eq + 1); | 	    printf ("%s = '%s'\n", environ[i], eq + 1); | ||||||
| 	  *eq = '='; | 	  *eq = '='; | ||||||
| 	} | 	} | ||||||
|     } |     } | ||||||
| @@ -1222,7 +1222,7 @@ dump_sysinfo () | |||||||
| 	  if (!found) | 	  if (!found) | ||||||
| 	    { | 	    { | ||||||
| 	      *eq = 0; | 	      *eq = 0; | ||||||
| 	      printf ("%s = `%s'\n", environ[i], eq + 1); | 	      printf ("%s = '%s'\n", environ[i], eq + 1); | ||||||
| 	      *eq = '='; | 	      *eq = '='; | ||||||
| 	    } | 	    } | ||||||
| 	} | 	} | ||||||
| @@ -1232,7 +1232,7 @@ dump_sysinfo () | |||||||
|   if (registry) |   if (registry) | ||||||
|     { |     { | ||||||
|       if (givehelp) |       if (givehelp) | ||||||
| 	printf ("Scanning registry for keys with `Cygnus' in them...\n"); | 	printf ("Scanning registry for keys with 'Cygnus' in them...\n"); | ||||||
| #if 0 | #if 0 | ||||||
|       /* big and not generally useful */ |       /* big and not generally useful */ | ||||||
|       scan_registry (0, HKEY_CLASSES_ROOT, (char *) "HKEY_CLASSES_ROOT", 0); |       scan_registry (0, HKEY_CLASSES_ROOT, (char *) "HKEY_CLASSES_ROOT", 0); | ||||||
| @@ -1248,7 +1248,7 @@ dump_sysinfo () | |||||||
|       printf ("\n"); |       printf ("\n"); | ||||||
|     } |     } | ||||||
|   else |   else | ||||||
|     printf ("Use `-r' to scan registry\n\n"); |     printf ("Use '-r' to scan registry\n\n"); | ||||||
|  |  | ||||||
|   if (givehelp) |   if (givehelp) | ||||||
|     { |     { | ||||||
| @@ -1486,7 +1486,7 @@ check_keys () | |||||||
|   fputs ("\nThis key check works only in a console window,", stderr); |   fputs ("\nThis key check works only in a console window,", stderr); | ||||||
|   fputs (" _NOT_ in a terminal session!\n", stderr); |   fputs (" _NOT_ in a terminal session!\n", stderr); | ||||||
|   fputs ("Abort with Ctrl+C if in a terminal session.\n\n", stderr); |   fputs ("Abort with Ctrl+C if in a terminal session.\n\n", stderr); | ||||||
|   fputs ("Press `q' to exit.\n", stderr); |   fputs ("Press 'q' to exit.\n", stderr); | ||||||
|  |  | ||||||
|   INPUT_RECORD in, prev_in; |   INPUT_RECORD in, prev_in; | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user