[DGD]Patches

James Bearden bearden_james at hotmail.com
Wed Apr 12 09:48:43 CEST 2000


I see, it just means add this line here, and put this here and shift 
everything down. So the final bit should look like this after patched:

# define BEL	'\007'
# define BS	'\010'
# define HT   '\011'     - line 273 where the changing occurs
# define LF   '\012'
# define VT   '\013'
# define FF   '\014'
# define CR   '\015'
# define ESC  '\033'

# define ALGN(x, s)   (((x) + (s) - 1) & ~((s) - 1))

Any idea as to what the difference is between the two different peices of 
code in comm.c's patch?

         /*
         * insert CR before LF
         */
        *q++ = LF;    <---- Difference
        size++;
!   } else if ((*p & 0x7f) < ' ' && *p != HT && *p != BEL && *p != BS) {
        /*
         * illegal character
         */
        p++;
        --len;
--- 289,299 ----
        /*
         * insert CR before LF
         */
        *q++ = CR;      <---- Difference
        size++;
!   } else if ((*p & 0x7f) < ' ' && *p != HT && *p != BEL && *p != BS && *p 
!= ESC) {
        /*
         * illegal character
         */
        p++;
        --len;



______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


List config page:  http://list.imaginary.com/mailman/listinfo/dgd



More information about the DGD mailing list