[darcs-devel] [darcs #291] apply doesn't work on windows machines

Josef Svenningsson via RT bugs at darcs.net
Mon Mar 21 16:25:30 PST 2005


Mon Mar 21 19:25:28 2005: New ticket: 291.
Transaction: Ticket created by josefs
       Queue: Darcs
     Subject: apply doesn't work on windows machines
       Owner: Nobody
  Requestors: josef.svenningsson at gmail.com
      Status: new
 Ticket <URL: http://bugs.darcs.net/.//Ticket/Display.html?id=291 >

When a patch is saved in windows format (for example from an email)
darcs will not recognize it as a valid patch. The reason for this is
that the patch is read with the function FastPackedString.readFilePS
which opens files in binary mode and hence doesn't convert the line
breaks. I'm not sure whether it would be OK to just open the file in
text mode of that would break anything.




More information about the darcs-devel mailing list