8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-23 18:03:04 +01:00

Changed the default extensions for databases from .gdb to .fdb

The Windows and OS X builds have not been updated yet.
This commit is contained in:
eku 2003-03-17 12:12:28 +00:00
parent ceb9d33c9d
commit 3cadf8b95f

View File

@ -795,12 +795,12 @@ int ISC_expand_filename(
Discard expanded_name and use temp as it is.
**/
/* in this case use the temp but we need to ensure that we expand to
* temp from "d:foo.fdb" to "d:\foo.gdb" */
* temp from "d:foo.fdb" to "d:\foo.fdb" */
if (_fullpath(expanded_name, temp, MAXPATHLEN) != NULL) {
TEXT expanded_name2[MAXPATHLEN];
/* convert then name to its shorter version ie. convert
* longfilename.fdb to longfi~1.gdb */
* longfilename.fdb to longfi~1.fdb */
length =
(USHORT) GetShortPathName(expanded_name, expanded_name2,
MAXPATHLEN);