All of the files in CVS are saved with CRLF (Windows/DOS style) line endings whereas they should be saved with LF (UNIX/OSX style).

Comments

damienmckenna’s picture

Status: Active » Needs review
StatusFileSize
new7.31 KB

The attached file *should* convert all files back to normal line endings.

damienmckenna’s picture

Due to the weirdness of dealing with line endings vs creating patch files, I'm not 100% sure if the attached patch will work, but at the very least if each file is opened & re-saved as LF format in any text editor, it will resolve the problem.

damienmckenna’s picture

Priority: Normal » Critical

Updating the status as it is affecting our ability to do other work, e.g. #335829: No redirect if field is blank.

guillaumeduveau’s picture

StatusFileSize
new37.24 KB

Oh, now I understand why your latest patch was so long ! I tried this patch but cck_redirection.module still is in DOS format and with no EOL, so I ran dos2unix on the file and here's the 30KB patch...

Anyway good idea to submit this issue, let's deal with that first. There are a lot of coder finds too, do you think we should treat them in another issue ?

guillaumeduveau’s picture

StatusFileSize
new796 bytes

It's corrected in the lastest CVS and 6.x-1.2. The last thing is a remaining "End of line" problem in cck_redirection.info. Then we can start the real work !

guillaumeduveau’s picture

Priority: Critical » Normal
guillaumeduveau’s picture

In fact it's corrected in CVS HEAD but NOT in 6.x-1.2. My patch was for CVS HEAD so it still applies.

damienmckenna’s picture

Could someone please fix the v6.x-1.x branch? Thanks.

robin monks’s picture

Assigned: Unassigned » robin monks
Status: Needs review » Fixed

6.x branch also fixed now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.