Commit aa7244ed authored by Marc G. Fournier's avatar Marc G. Fournier

Change:

#define TAPETEMP                "pg_btsortXXXXXX"

to:

#define TAPETEMP                "pg_btsortXXXXXXX"

For some reason, under FreeBSD, it appears that the mktemp() value needs the
extra 'X' to improve/ensure uniqueness
parent ec9e44ab
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
* *
* *
* IDENTIFICATION * IDENTIFICATION
* $Id: nbtsort.c,v 1.27 1998/01/13 04:03:41 scrappy Exp $ * $Id: nbtsort.c,v 1.28 1998/02/21 19:23:14 scrappy Exp $
* *
* NOTES * NOTES
* *
...@@ -85,7 +85,7 @@ static void _bt_uppershutdown(Relation index, BTPageState *state); ...@@ -85,7 +85,7 @@ static void _bt_uppershutdown(Relation index, BTPageState *state);
#define MAXTAPES (7) #define MAXTAPES (7)
#define TAPEBLCKSZ (BLCKSZ << 2) #define TAPEBLCKSZ (BLCKSZ << 2)
#define TAPETEMP "pg_btsortXXXXXX" #define TAPETEMP "pg_btsortXXXXXXX"
extern int NDirectFileRead; extern int NDirectFileRead;
extern int NDirectFileWrite; extern int NDirectFileWrite;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment