[DGD]Patches

James Bearden bearden_james at hotmail.com
Wed Apr 12 08:29:38 CEST 2000


hmm the ansi color patch for host.h looks odd. This is what the patch says 
to do, put


--- 273,280 ----
  # define HT   '\011'
  # define LF   '\012'
  # define VT   '\013'
  # define FF   '\014'
  # define CR   '\015'
+ # define ESC  '\033'

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

in place of starting on line 273

/* these must be the same on all hosts */
# define BEL	'\007'
# define BS	'\010'
# define HT	'\011'  - line 273
# define LF	'\012'
# define VT	'\013'
# define FF	'\014'
# define CR	'\015'

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

When I view it in Borland C++ it color codes everything green before I 
change anything. When I replace it with the patch, the + in front of + # 
define ESC  '\033' breaks the color code and turns red. normally its in 
green, but the + is in red, and everything else is in black and blue.

Should I just delete the +?
______________________________________________________
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