[comp.mail.elm] elm 2.1PL1 - mismatched quotes upset ANSI pre-processor

cudcv@warwick.ac.uk (Rob McMahon) (12/20/88)

With an ANSI pre-processor, even within comments quotes have to come in
matching pairs.
-- 
RCS file: /usr/local/src/elm/src/fileio.c,v
retrieving revision 2.1
retrieving revision 2.1.1.1
diff -c -r2.1 -r2.1.1.1
*** /tmp/,RCSt1a02684	Tue Dec 20 11:56:45 1988
--- /tmp/,RCSt2a02684	Tue Dec 20 11:56:47 1988
***************
*** 170,176 ****
  	(void) umask(old_umask);
  }
  
! /** and finally, here's something for that evil trick: site hiding **/
  
  #ifdef SITE_HIDING
  
--- 173,179 ----
  	(void) umask(old_umask);
  }
  
! /** and finally, here''s something for that evil trick: site hiding **/
  
  #ifdef SITE_HIDING
  
***************
*** 186,192 ****
  	char  buffer[SLEN];
  
  	this line is deliberately inserted to ensure that you THINK
! 	about what you're doing, and perhaps even contact the author
  	of Elm before you USE this option...
  
  	if ((hidden_users = fopen (HIDDEN_SITE_USERS,"r")) == NULL) {
--- 189,195 ----
  	char  buffer[SLEN];
  
  	this line is deliberately inserted to ensure that you THINK
! 	about what you''re doing, and perhaps even contact the author
  	of Elm before you USE this option...
  
  	if ((hidden_users = fopen (HIDDEN_SITE_USERS,"r")) == NULL) {
-- 
Rob
-- 
UUCP:   ...!mcvax!ukc!warwick!cudcv	PHONE:  +44 203 523037
JANET:  cudcv@uk.ac.warwick             ARPA:   cudcv@warwick.ac.uk
Rob McMahon, Computing Services, Warwick University, Coventry CV4 7AL, England

bill@twwells.uucp (T. William Wells) (12/24/88)

In article <72@titania.warwick.ac.uk> cudcv@warwick.ac.uk (Rob McMahon) writes:
: With an ANSI pre-processor, even within comments quotes have to come in
: matching pairs.

Not true. A C preprocessor which conforms to the dpANS does not
interpret what is in comments.

Go bitch to your vendor.

---
Bill
{uunet|novavax}!proxftl!twwells!bill