Ignore:
Timestamp:
Nov 13, 2013, 5:29:22 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.6: remove some @todo

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/server/source3/dynconfig.c

    r745 r831  
    106106
    107107#ifdef __OS2__
    108 // @todo change this file so it also works for rpm
    109 // @todo see what NMBDSOCKETDIR & LOCALEDIR are used for
     108// @todo_port change this file so it also works for rpm
    110109
    111110/* Directory the binary was called from, same as getbindir() */
     
    376375}
    377376
    378 /* Directory holding the NMBDSOCKETDIR (whatever that is) */
     377/* Directory holding the NMBDSOCKETDIR */
    379378const char *get_dyn_NMBDSOCKETDIR(void)
    380379{
     
    382381        if (!*buffer)
    383382        {
    384                 char exedir[1024] = "";
    385                 if (!os2_GetExePath(exedir))
    386                 {
    387                         snprintf(buffer, 260, "%s", NMBDSOCKETDIR);
    388                 } else {
    389                         snprintf(buffer, 260, "%s/%s", exedir, "lib");
    390                 }
     383                snprintf(buffer, 260, "%s/samba/nmbd", getenv("ETC"));
    391384        }
    392385
     
    397390}
    398391
    399 /* Directory holding the LOCALEDIR (whatever that is) */
     392/* Directory holding the LOCALEDIR */
    400393const char *get_dyn_LOCALEDIR(void)
    401394{
     
    403396        if (!*buffer)
    404397        {
    405                 char exedir[1024] = "";
    406                 if (!os2_GetExePath(exedir))
    407                 {
    408                         snprintf(buffer, 260, "%s", LOCALEDIR);
    409                 } else {
    410                         snprintf(buffer, 260, "%s/%s", exedir, "lib");
    411                 }
     398                snprintf(buffer, 260, "%s/samba/locale", getenv("ETC"));
    412399        }
    413400
     
    418405}
    419406
    420 /* Directory holding the NCALRPCDIR (whatever that is) */
     407/* Directory holding the NCALRPCDIR */
    421408const char *get_dyn_NCALRPCDIR(void)
    422409{
     
    424411        if (!*buffer)
    425412        {
    426                 char exedir[1024] = "";
    427                 if (!os2_GetExePath(exedir))
    428                 {
    429                         snprintf(buffer, 260, "%s", NCALRPCDIR);
    430                 } else {
    431                         snprintf(buffer, 260, "%s/%s", exedir, "lib");
    432                 }
     413                snprintf(buffer, 260, "%s/samba/ncalrpc", getenv("ETC"));
    433414        }
    434415
Note: See TracChangeset for help on using the changeset viewer.