1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2025-12-09 22:01:10 +01:00
This commit is contained in:
Bastien JANSEN 2025-03-11 17:57:55 +01:00
parent 74b28afd4a
commit 4185bf0326
2 changed files with 18 additions and 6 deletions

View file

@ -37,7 +37,7 @@ class CRLFGeneratorStream(private val crlfOut: OutputStream, encoding: StreamEnc
}
override fun close() {
if (!isBinary && lastB == 'r'.code) {
if (!isBinary && lastB == '\r'.code) {
crlfOut.write('\n'.code)
}
crlfOut.close()