buildworld failed on HEAD

Sam Fourman Jr. sfourman at gmail.com
Fri Jul 19 18:17:32 UTC 2013


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,^@&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.


More information about the freebsd-current mailing list