guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 3/3] gnu: Add ghc.


From: Federico Beffa
Subject: Re: [PATCH 3/3] gnu: Add ghc.
Date: Thu, 5 Mar 2015 09:26:24 +0100

On Tue, Mar 3, 2015 at 1:24 PM, Ludovic Courtès <address@hidden> wrote:
>> Somehow find-files appears to have problems with a file. This happens
>> even if I install the en_US.UTF-8 locale:
>
> [...]
>
>>    ?: 1 [regexp-exec #<regexp 1b66100> "hello\x00 world\n" 0 0]
>> In ice-9/boot-9.scm:
>>  106: 0 [#<procedure 1f2ae40 at ice-9/boot-9.scm:97:6 (thrown-k .
>> args)> misc-error ...]
>>
>> ice-9/boot-9.scm:106:20: In procedure #<procedure 1f2ae40 at
>> ice-9/boot-9.scm:97:6 (thrown-k . args)>:
>> ice-9/boot-9.scm:106:20: string contains #\nul character: "hello\x00 world\n"
>
> Right, that’s because ‘regexp-exec’ uses libc’s regexp functions, for
> which the nul character marks the end of the string.
>
> This file presumably cannot be patched with ‘substitute*’.  Is it a problem?

Sorry for the long delay... No, no problem. I will just not use the
exact command you suggested.

I tried to use a regex in find-files, but, as for the other file list,
something goes wrong. Right now I do not have time to investigate and
propose to keep the list as attached.

Regards,
Fede

Attachment: 0001-gnu-Add-ghc.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]