Mixed newlines in Windows installer files

Поиск
Список
Период
Сортировка
От Mike Toews
Тема Mixed newlines in Windows installer files
Дата
Msg-id CAM2FmMr07B7fUGy5-bQPDJCDkh_RprjjJR5g-ye87_XApeN9cg@mail.gmail.com
обсуждение исходный текст
Список pgsql-bugs
Apologies that this report is near trivial, and only concerns the
Windows installers by EnterpriseDB (I'm not sure where else to post
these).

With all of the current EnterpriseDB builds for Windows, several files
have inconsistent line endings, switching between so-called DOS
(CR+LF) and UNIX (LF).

scripts\serverctl.vbs
scripts\runpsql.bat
installer\server\*.vbs

With all of these files, the header looks odd, e.g., serverctl.vbs in VIM:

' Copyright (c) 2012, EnterpriseDB Corporation.  All rights reserved
On Error Resume Next^M
^M
...

or in notepad.exe (a terrible, yet default editor):

' Copyright (c) 2012, EnterpriseDB Corporation.  All rights reservedOn
Error Resume Next
...

I've found this problem with 9.2 and in recent 9.1 installer
directories, but not in older releases from a few months ago, so this
is a recent change.

(Even more nitpickier, pg_env.bat ends with lots of extra whitespace,
but no line ending.)

Note that mixed newlines do not appear to change their behaviour, but
I could be mistaken.

-Mike

В списке pgsql-bugs по дате отправления:

Предыдущее
От: Fujii Masao
Дата:
Сообщение: Re: BUG #7546: Backups on hot standby cancelled despite hot_standby=on
Следующее
От: Craig Ringer
Дата:
Сообщение: Re: BUG #7554: save image into database using jsp and servlet