libsmbclient - Thread Saftey

David Collier-Brown davecb at sun.com
Mon Oct 6 14:19:43 GMT 2008


Derrell Lipman wrote:
> Yes, all of those libsmb-* files are libsmbclient.

Ok, then there are only a few issues left in the whole directory:
froggy> cat libsmbclient.report
atof - convert string to double-precision number
     MT-Level: MT-Safe as  long  as setlocale(3C) is not
     called to change the locale.

Found in:
"./libsmb_xattr.c",
       655:
       688:

ctime - convert date and time to string
     MT-Level: MT-Safe with exceptions
     the ctime(), gmtime(), and localtime()  functions
     are  safe  to  use  in multithread applications because they
     employ  thread-specific  data.   However,   their   use   is
     discouraged  because  standards  do  not  require them to be
     thread-safe. Use  asctime_r(), gmtime_r() and ctime_r(),

Found in:
"./libsmb_dir.c",
       1615:
       1621:

getpass - read a string of characters without echo
     MT-Level: MT-Unsafe

Found in:
"./clidfs.c",
       209:

-- 
David Collier-Brown            | Always do right. This will gratify
Sun Microsystems, Toronto      | some people and astonish the rest
davecb at sun.com                 |                      -- Mark Twain
cell: (647) 833-9377, bridge: (877) 385-4099 code: 506 9191#


More information about the samba-technical mailing list