anyway, make the mapping apply on all platforms
ticket: 2531
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@16247
dc483132-0cff-0310-8789-
dd5450dbe970
+2004-04-13 Jeffrey Altman <jaltman@mit.edu>
+
+ * ccbase.c:
+ Since we have to reserve all the single letter
+ prefixes make them apply to all platforms
+
2004-04-13 Jeffrey Altman <jaltman@mit.edu>
* ccbase.c:
pfxlen = cp - name;
-#if defined(_WIN32)
if ( pfxlen == 1 && isalpha(name[0]) ) {
/* We found a drive letter not a prefix - use FILE: */
pfx = strdup("FILE:");
resid = name;
} else {
-#endif
resid = name + pfxlen + 1;
pfx = malloc (pfxlen+1);
memcpy (pfx, name, pfxlen);
pfx[pfxlen] = '\0';
-#if defined(_WIN32)
}
-#endif
*cache = (krb5_ccache) 0;
+2004-04-13 Jeffrey Altman <jaltman@mit.edu>
+
+ * ktbase.c:
+ Since we have to reserve all the single letter
+ prefixes make them apply to all platforms
+
2004-04-13 Jeffrey Altman <jaltman@mit.edu>
* ktbase.c: On Windows, improve the treat drive letter
pfxlen = cp - name;
-#if defined(_WIN32)
if ( pfxlen == 1 && isalpha(name[0]) ) {
/* We found a drive letter not a prefix - use FILE: */
pfx = strdup("FILE:");
resid = name;
} else {
-#endif
resid = name + pfxlen + 1;
pfx = malloc (pfxlen+1);
memcpy (pfx, name, pfxlen);
pfx[pfxlen] = '\0';
-#if defined(_WIN32)
}
-#endif
*ktid = (krb5_keytab) 0;