delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2002/09/26/12:20:08

Date: Thu, 26 Sep 2002 12:17:37 -0400
Message-Id: <200209261617.g8QGHbv05036@envy.delorie.com>
X-Authentication-Warning: envy.delorie.com: dj set sender to dj AT delorie DOT com using -f
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <CCCCBDC30A7@HRZ1.hrz.tu-darmstadt.de>
(ST001906 AT HRZ1 DOT HRZ DOT TU-Darmstadt DOT De)
Subject: Re: link specific bug in djtar
References: <CCCCBDC30A7 AT HRZ1 DOT hrz DOT tu-darmstadt DOT de>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

I would worry about IS_ conflicting with system headers.  Perhaps we
should just put the check inline, with an explanatory comment, like
this?

	if (header.flags[0] == '1' || header.flags[0] == '2')
	{
	  /* Symbolic links always have zero data, but some broken
	     tar programs claim otherwise.  */
	  size = 0;
	}

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019