1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

12 Commits

Author SHA1 Message Date
Slava Semushin
5d2cd81645 source{3,4}/torture/smbiconv.c(main): fixed file descriptor leak.
File descriptor leaks only when we use file instead of stdout.

Found by cppcheck:
[./source3/torture/smbiconv.c:219]: (error) Resource leak: out
[./source4/torture/smbiconv.c:211]: (error) Resource leak: out
2009-05-25 16:18:48 +02:00
Michael Adam
d4123ba9ee Fix a pointer to int conversion warning: cast the int instead.
Michael
(This used to be commit 3cace4b7aa87a2f5bc7b6efd095366699d939511)
2008-02-15 13:14:20 +01:00
Michael Adam
a10e6183aa Fix two const warnings.
Michael
(This used to be commit 03db3bd0774e0435089eef15f88355133149d658)
2008-02-15 13:12:38 +01:00
Michael Adam
8a63e13225 Try to fix the build of smbiconv on systems without native iconv.
Use the smb_iconv_t instead of iconv_t.

Michael
(This used to be commit bdc00a05b95a7a629a6cbf2af21760b6ff874bd9)
2008-02-15 13:11:41 +01:00
Michael Adam
dd255b4275 Fix compiling torture/smbiconv.c: allow to use realloc directly by #undef realloc.
Michael
(This used to be commit 113377a7929975bf29c2cfff1652781fae24e826)
2008-02-15 11:39:25 +01:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Alexander Bokovoy
7e27147422 Fix for #150.
We now fallback to Samba-provided CP850 charset module if CP850 or IBM850 does not exist on target system at runtime.
1. Introduce CP850 charset module based on charmaps table from GNU libc 2.2.5
2. Make CP850 charset module shared and build it by default

Should fix Solaris run-time
(This used to be commit e855dc8c9115fa11d315eb34d57722ff612daa11)
2003-08-26 19:48:16 +00:00
Jelmer Vernooij
29674c7fa6 Move up intialisation of logging, so we catch errors in handling 'preload modules'
(This used to be commit 13b81d0d92b9e28eaab18f5437060e79f6075f9e)
2003-06-26 17:29:09 +00:00
Jelmer Vernooij
0914e541f5 Reverse previous patch from Stefan and me after comments by Andrew Bartlett
(This used to be commit d817eaf0ecca2d878ab1ffcf7a747a02d71c811e)
2003-05-10 11:49:51 +00:00
Jelmer Vernooij
c507ebe567 Patch from metze and me that adds dummy smb_register_*() functions so
that is now possible to, for example, load a module which contains
an auth method into a binary without the auth/ subsystem built in.
(This used to be commit 74d9ecfe2dd7364643d32acb62ade957bd71cd0d)
2003-05-10 10:53:48 +00:00
Jelmer Vernooij
d2cea7d289 Add 'smbiconv' program - a clone of the 'iconv' utility
that uses samba's internal iconv() functions. Useful for
testing purposes.
(This used to be commit ccabb7961a15c06a315bdb9ff1a79834864f67e7)
2003-04-27 20:47:15 +00:00