Re: buildworld failed on HEAD

From: Sam Fourman Jr. <sfourman_at_gmail.com>
Date: Fri, 19 Jul 2013 14:17:30 -0400
On Fri, Jul 19, 2013 at 1:53 PM, Ryan Stone <rysto32_at_gmail.com> wrote:

> On Fri, Jul 19, 2013 at 1:35 PM, Sam Fourman Jr. <sfourman_at_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,^_at_&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 ^_at_ so im just going to
manually remove it... im not sure whats going on here...

Sam
-- 

Sam Fourman Jr.
Received on Fri Jul 19 2013 - 16:17:32 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:39 UTC