You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Thomas Munro
4fc6b6eefc
Fix get_dirent_type() for symlinks on MinGW/MSYS.
...
On Windows with MSVC, get_dirent_type() was recently made to return
DT_LNK for junction points by commit 9d3444dc , which fixed some
defective dirent.c code.
On Windows with Cygwin, get_dirent_type() already worked for symlinks,
as it does on POSIX systems, because Cygwin has its own fake symlinks
that behave like POSIX (on closer inspection, Cygwin's dirent has the
BSD d_type extension but it's probably always DT_UNKNOWN, so we fall
back to lstat(), which understands Cygwin symlinks with S_ISLNK()).
On Windows with MinGW/MSYS, we need extra code, because the MinGW
runtime has its own readdir() without d_type, and the lstat()-based
fallback has no knowledge of our convention for treating junctions as
symlinks.
Back-patch to 14, where get_dirent_type() landed.
Reported-by: Andrew Dunstan <andrew@dunslane.net>
Discussion: https://postgr.es/m/b9ddf605-6b36-f90d-7c30-7b3e95c46276%40dunslane.net
4 years ago
..
unicode
Add output directory argument to generate-unicode_norm_table.pl
4 years ago
.gitignore
Replace the data structure used for keyword lookup.
7 years ago
Makefile
Rename backup_compression.{c,h} to compression.{c,h}
4 years ago
archive.c
Update copyright for 2022
4 years ago
base64.c
Update copyright for 2022
4 years ago
checksum_helper.c
Update copyright for 2022
4 years ago
compression.c
Pre-beta mechanical code beautification.
4 years ago
config_info.c
Update copyright for 2022
4 years ago
controldata_utils.c
Improve frontend error logging style.
4 years ago
cryptohash.c
Fix comment related to pg_cryptohash_error()
4 years ago
cryptohash_openssl.c
Pre-beta mechanical code beautification.
4 years ago
d2s.c
Update copyright for 2022
4 years ago
d2s_full_table.h
Update copyright for 2022
4 years ago
d2s_intrinsics.h
Update copyright for 2022
4 years ago
digit_table.h
Change floating-point output format for improved performance.
7 years ago
encnames.c
Update copyright for 2022
4 years ago
exec.c
Improve error reporting from validate_exec().
4 years ago
f2s.c
Update copyright for 2022
4 years ago
fe_memutils.c
Remove redundant null pointer checks before free()
4 years ago
file_perm.c
Update copyright for 2022
4 years ago
file_utils.c
Fix get_dirent_type() for symlinks on MinGW/MSYS.
4 years ago
hashfn.c
Use bitwise rotate functions in more places
4 years ago
hmac.c
Improve error handling of HMAC computations
4 years ago
hmac_openssl.c
Clear the OpenSSL error queue before cryptohash operations
4 years ago
ip.c
Replace many MemSet calls with struct initialization
4 years ago
jsonapi.c
Fix out-of-bounds read in json_lex_string
4 years ago
keywords.c
Update copyright for 2022
4 years ago
kwlookup.c
Update copyright for 2022
4 years ago
link-canary.c
Update copyright for 2022
4 years ago
logging.c
logging: Also add the command prefix to detail and hint messages
4 years ago
md5.c
Update copyright for 2022
4 years ago
md5_common.c
Add missing error handling in pg_md5_hash().
4 years ago
md5_int.h
Update copyright for 2022
4 years ago
pg_get_line.c
Update copyright for 2022
4 years ago
pg_lzcompress.c
Update copyright for 2022
4 years ago
pg_prng.c
Update copyright for 2022
4 years ago
pgfnames.c
Update copyright for 2022
4 years ago
protocol_openssl.c
Update copyright for 2022
4 years ago
psprintf.c
Update copyright for 2022
4 years ago
relpath.c
Change internal RelFileNode references to RelFileNumber or RelFileLocator.
4 years ago
restricted_token.c
Improve frontend error logging style.
4 years ago
rmtree.c
Update copyright for 2022
4 years ago
ryu_common.h
Update copyright for 2022
4 years ago
saslprep.c
Update copyright for 2022
4 years ago
scram-common.c
Improve error handling of HMAC computations
4 years ago
sha1.c
Update copyright for 2022
4 years ago
sha1_int.h
Update copyright for 2022
4 years ago
sha2.c
Update copyright for 2022
4 years ago
sha2_int.h
Update copyright for 2022
4 years ago
sprompt.c
Update copyright for 2022
4 years ago
string.c
Update copyright for 2022
4 years ago
stringinfo.c
Update copyright for 2022
4 years ago
unicode_norm.c
Update copyright for 2022
4 years ago
username.c
Update copyright for 2022
4 years ago
wait_error.c
Update copyright for 2022
4 years ago
wchar.c
Improve code clarity in epilogue of UTF-8 verification fast path
4 years ago