On Mon, 13 Sep 2004, Kenneth J. Davis wrote:
> Bart Oldeman wrote:
> ...
> >>batch files no change just line ending issue
> > which is pretty annoying if you check out on Linux -- I'll really have to
> ...
> I'm tired of this issue, if the file is in cvs as a text file, then
> it should have the proper line ending, end of discussion. If you really
> insist on a specified control character sequence for the line ending,
> then the files need to be marked binary and suffer from cvs lack of
> diff/patch support.
the diff for freecom is very simple though. Only problem is that Steffen
didn't want to apply it when I first sent it, haven't seen any problems
with it though (Freecom continues to work just fine with CRLF batch
files).
Bart
--- freecom/shell/batch.c~ Wed Nov 6 20:16:38 2002
+++ freecom/shell/batch.c Fri Sep 19 21:43:13 2003
@@ -441,7 +441,7 @@
if (!bc->bfile)
{ /* modifyable batchfiles */
- if ((bc->bfile = fopen(bc->bfnam, "rt")) == 0)
+ if ((bc->bfile = fopen(bc->bfnam, "rb")) == 0)
{
error_bfile_vanished(bc->bfnam);
exit_batch();
-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel