Mickael Remond | 1 May 2005 22:29

filelib:wildcard/2

Hello,

I have been trying to use filelib:wildcard/2 in Erlang/OTP R10B-3.
The documentation says:

        wildcard(Wildcard, Cwd) -> list()

               Types  Wildcard = filename() | dirname()
                      Cwd = dirname()

               The wildcard/2 function works like wildcard/1, except 
that
               instead of the actual working dirctory, Cwd will
               be used.

However, this feature does not seem to be implemented:
filelib:wildcard("*", "/") always return the content of the current 
directory.

I hope this helps,

--

-- 
Mickaël Rémond

Tamas Patrovics | 10 May 2005 10:26
Picon

erlang module html doc bug

in file ./lib/kernel-2.10.6/doc/html/erlang.html this line doesn't
seem to be right:

erlang:raise(Class, Reason, Stacktrace) <func>
<name>erlang:raise(Class, Reason, Stacktrace)

This is how it appears in the browser.

/Tamas

Fredrik Thulin | 12 May 2005 09:36
Picon
Picon

R10B-5 compiler bug with two try/catch

Hi

This bug is not fixed in R10B-5, posting to erlang-questions too as it 
did not result in any feedback on the erlang-bugs list.

$ /pkg/erlang/R10B-5/bin/erlc sipparse_util.erl
sipparse_util: function test/0+34:
  Internal consistency check failed - please report this bug.
  Instruction: {try_end,{y,0}}
  Error:       unknown_catch_try_state:

$

/Fredrik

PS. The documented return value of timer:now_diff/2 has an obvious 
copy/paste error :

	now_diff(T2, T1) -> {Time, Value} 

----------  Forwarded Message  ----------

Subject: R10B-4 compiler bug with two try/catch
Date: Friday 15 April 2005 11.10
From: Fredrik Thulin <ft <at> it.su.se>
To: erlang-bugs <at> erlang.org

Hi

The attached file cause the following error on R10B-4 :
(Continue reading)

Leigh Fiddes | 16 May 2005 03:45
Picon
Picon
Favicon

Megaco text encoding problem with embedded Signal

Hi,

I am experimenting with the Erlang Megaco stack (3.0.1) and I am having a problem encoding an 
embedded Signal within an Event.

The erlang code I am using is:

     SRE1 = #'SecondRequestedEvent'{ pkgdName = "al/on",
                                     evParList = [] },

     SED = #'SecondEventsDescriptor'{ requestID = 2,
                                      eventList = [ SRE1 ] },

     SIG = { signal, #'Signal'{ signalName = "cg/dt",
                                sigParList = [] } },

     RA = #'RequestedActions'{ secondEvent = SED,
                               signalsDescriptor = [ SIG ] },

     RE = #'RequestedEvent'{ pkgdName = "al/of",
                             eventAction = RA,
                             evParList = [] },

     EV = #'EventsDescriptor'{ requestID = 1, eventList = [ RE ] },

     TermID = {megaco_term_id, true, [[$*]] },

     AMMR = #'AmmRequest'{ terminationID = [ TermID ],
                           descriptors = [ { eventsDescriptor, EV } ] },

(Continue reading)


Gmane