[Home]

Summary:ASTERISK-06319: [patch] STANDARD_LOCAL_USER removal
Reporter:Luigi Rizzo (rizzo)Labels:
Date Opened:2006-02-15 05:39:27.000-0600Date Closed:2008-01-15 16:49:01.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Resources/res_adsi
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) std_lu.diff
Description:now that ASTERISK-6059 is in, the macro STANDARD_LOCAL_USER is not
necessary anymore.
The first step in its removal is the attached patch, which
redefines it to empty and makes the struct localuser
declaration unconditional. This lets the code compile,
and makes the invocations of the macro useless but harmless.

The next step is remove any instance of STANDARD_LOCAL_USER
from the various files as you find them. I can submit a
patch, but it would be large, and it is probably easier to just run
  grep -r STANDARD_LOCAL_USER .
on the root of the tree...
Comments:By: Russell Bryant (russell) 2006-02-15 12:08:02.000-0600

added to the trunk in rev 10223, thanks!

By: Digium Subversion (svnbot) 2008-01-15 16:49:01.000-0600

Repository: asterisk
Revision: 10223

U   trunk/include/asterisk/module.h

------------------------------------------------------------------------
r10223 | russell | 2008-01-15 16:49:00 -0600 (Tue, 15 Jan 2008) | 4 lines

now that there are no modules that define their own version of
'struct localuser' (see issue ASTERISK-6059), redefine STANDARD_LOCAL_USER
to empty, and define the localuser structure in module.h (issue ASTERISK-6319)

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=10223