Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 5 Apr 1999 21:36:16 -0400 (EDT)
From:      Brian Feldman <green@unixhelp.org>
To:        current@freebsd.org
Subject:   EGCS breaks what(1)
Message-ID:  <Pine.BSF.4.05.9904052133460.42766-100000@janus.syracuse.net>

next in thread | raw e-mail | index | archive | help
  Okay, let me be a little clearer ;) What(1) on the kernel no longer works
because previously, the 
char sccs[] = { '@', '(', '#', ')' };
char version[] = blahhhfoooooo;
Was contiguous. However, nowadays, nice EGCS pads 4 bytes (WHY?!?!) between
those. So it appears "@(#)\0\0\0\0FreeBSD....." in the binary. Of course,
strings are null-terminated... :P I don't know why EGCS does this!

 Brian Feldman                _ __ ___ ____  ___ ___ ___  
 green@unixhelp.org                _ __ ___ | _ ) __|   \ 
     FreeBSD: The Power to Serve!      _ __ | _ \__ \ |) |
         http://www.freebsd.org           _ |___/___/___/ 



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.05.9904052133460.42766-100000>