Patch fix for c:nc R13B02-1

View: New views
3 Messages — Rating Filter:   Alert me  

Patch fix for c:nc R13B02-1

by Alex Suraci :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Discussion:
    http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:1525:lhkkmhkfakilgfinpgae

Fixes c:nc not working when the source is compiled to an outdir or
compiled from anywhere but the cwd.

Without this patch, things like `make:all([netload])' (or even just
`nc("path/to/file")')
are rendered completely useless. They'll compile the file, but not load them as
c:nc is almost always looking in the wrong place for the .beam file.

--
Alex



________________________________________________________________
erlang-patches mailing list. See http://www.erlang.org/faq.html
erlang-patches (at) erlang.org

cnc.patch (864 bytes) Download Attachment

Re: Patch fix for c:nc R13B02-1

by Alex Suraci :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Actually, that patch is wrong; fixed patch attached.

Tested locally this time, works perfectly.


On Wed, Sep 30, 2009 at 9:06 AM, Alex Suraci <i.am@...> wrote:

> Discussion:
>    http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:1525:lhkkmhkfakilgfinpgae
>
> Fixes c:nc not working when the source is compiled to an outdir or
> compiled from anywhere but the cwd.
>
> Without this patch, things like `make:all([netload])' (or even just
> `nc("path/to/file")')
> are rendered completely useless. They'll compile the file, but not load them as
> c:nc is almost always looking in the wrong place for the .beam file.
>
> --
> Alex
>


--
Alex



________________________________________________________________
erlang-patches mailing list. See http://www.erlang.org/faq.html
erlang-patches (at) erlang.org

cnc.patch (888 bytes) Download Attachment

Re: Patch fix for c:nc R13B02-1

by Alex Suraci :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Any updates on this? I've been running it locally for months and
haven't had any issues. It'd be nice to see it brought in so users of
my software don't have to patch their erlang install.

Regards,
- Alex

On Wed, Sep 30, 2009 at 8:52 AM, Alex Suraci <i.am@...> wrote:

> Actually, that patch is wrong; fixed patch attached.
>
> Tested locally this time, works perfectly.
>
>
> On Wed, Sep 30, 2009 at 9:06 AM, Alex Suraci <i.am@...> wrote:
>> Discussion:
>>    http://www.erlang.org/cgi-bin/ezmlm-cgi?2:mss:1525:lhkkmhkfakilgfinpgae
>>
>> Fixes c:nc not working when the source is compiled to an outdir or
>> compiled from anywhere but the cwd.
>>
>> Without this patch, things like `make:all([netload])' (or even just
>> `nc("path/to/file")')
>> are rendered completely useless. They'll compile the file, but not load them as
>> c:nc is almost always looking in the wrong place for the .beam file.
>>
>> --
>> Alex
>>
>
>
>
> --
> Alex
>



--
Alex

________________________________________________________________
erlang-patches mailing list. See http://www.erlang.org/faq.html
erlang-patches (at) erlang.org