*** postgresql-6.5.3/src/backend/commands/user.c.orig Wed Sep 6 22:51:46 2000 --- postgresql-6.5.3/src/backend/commands/user.c Wed Sep 6 22:55:13 2000 *************** *** 46,51 **** --- 46,52 ---- char *filename, *tempname; int bufsize; + int fd; /* * Create a temporary filename to be renamed later. This prevents the *************** *** 75,81 **** * the pg_pwd file contents. */ filename = crypt_getpwdreloadfilename(); ! creat(filename, S_IRUSR | S_IWUSR); } /*--------------------------------------------------------------------- --- 76,84 ---- * the pg_pwd file contents. */ filename = crypt_getpwdreloadfilename(); ! fd = creat(filename, S_IRUSR | S_IWUSR); ! if (fd != -1) ! close(fd); } /*---------------------------------------------------------------------