Date: Fri, 19 Jul 2013 14:17:30 -0400 From: "Sam Fourman Jr." <sfourman@gmail.com> To: Ryan Stone <rysto32@gmail.com> Cc: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: buildworld failed on HEAD Message-ID: <CAOFF%2BZ1Tzf2uapxNbbLS0DRsYuP6-8qwh_a6ze92up2rZTkWSg@mail.gmail.com> In-Reply-To: <CAFMmRNyap7-Av0Sua%2B9YcZV-OX%2BRx6d78CdN8WCAMbEWL2dcHA@mail.gmail.com> References: <CAOFF%2BZ3=G=VYYC%2BVz58nYX55no8x=NvGMvWVGy-0yRQER1iggQ@mail.gmail.com> <CAFMmRNyap7-Av0Sua%2B9YcZV-OX%2BRx6d78CdN8WCAMbEWL2dcHA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 19, 2013 at 1:53 PM, Ryan Stone <rysto32@gmail.com> wrote: > On Fri, Jul 19, 2013 at 1:35 PM, Sam Fourman Jr. <sfourman@gmail.com>wrote: > >> /usr/src/usr.bin/calendar/parsedata.c:989:17: error: null character >> ignored >> [-Werror,-Wnull-character] >> i = strtol (s, >> > > Try looking at this file in vi. It sounds like a '\0' has somehow been > inserted into this file and corrupted it. How did you get your source tree? > thats EXACTLY whats happening here... 988 if (s[0] == '+' || s[0] == '-') { 989 i = strtol (s,^@&es, 10); 990 if (*es != '\0') /* trailing junk */ 991 errx (1, "Invalid specifier format: %s\n", s); 992 return (i); 993 } 994 I used the new svnlite tool to get the src... so I did this: rm /usr/src/usr.bin/calendar/parsedata.c svnlite up and it restored the file but it still has the ^@ so im just going to manually remove it... im not sure whats going on here... Sam -- Sam Fourman Jr.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAOFF%2BZ1Tzf2uapxNbbLS0DRsYuP6-8qwh_a6ze92up2rZTkWSg>