1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-16 20:23:50 +03:00
Commit Graph

18 Commits

Author SHA1 Message Date
Andrew Tridgell
21eb316473 r21174: many thanks to Paul Wayper for pointing out that C99 requires a
matching va_end() for each va_copy(). This doesn't matter for most
architectures, but there could be some obscure ones where it does
matter.

some of this should be ported to Samba3
2007-10-10 14:44:42 -05:00
Andrew Tridgell
5fc756a770 r18401: some of our code also relies on fprintf() handling C99
semantics. Easiest to just replace it if it doesn't.
2007-10-10 14:18:24 -05:00
Andrew Tridgell
eacb5357c3 r18353: try to fix the assumption of NULL being handled in printf()
permanently by replacing printf() on systems that don't have a C99
printf lib
2007-10-10 14:18:16 -05:00
Andrew Tridgell
449fab2c26 r18321: fixed some warnings on AIX 2007-10-10 14:18:08 -05:00
Andrew Tridgell
d082a3c5f5 r18304: fixed misuse of size_t in dopr() 2007-10-10 14:18:05 -05:00
Andrew Tridgell
57cd0ca176 r18160: - pread and pwrite replacements need to be non-static
- replacing rename() is pointless - all platforms have it (and the
  #define of rename breaks some code)

- use system/locale.h in snprintf.c

- fix passwd.h for initgroups

- stdlib is in replace.h, not needed elsewhere

- fix the initgroups replacement

- fix mapping of dl functions to rep_*
2007-10-10 14:17:44 -05:00
Andrew Tridgell
3917436ff7 r18054: snprintf.c needs to use replace.h to get the rep_vasprintf and related
macros
2007-10-10 14:17:09 -05:00
Simo Sorce
dc689b5579 r18046: Add 'z' specifier support and a configure test.
Jeremy should I backport this to samba3 too?
2007-10-10 14:17:08 -05:00
Jelmer Vernooij
fe7ca4b145 r18031: Merge my replace fixes:
* libreplace can now build stand-alone
 * add stub testsuite for libreplace
 * make talloc/tdb/ldb use libreplace
2007-10-10 14:17:05 -05:00
Volker Lendecke
66b6456eee r17884: Shape up the snprintf fix after Metzes comments 2007-10-10 14:16:51 -05:00
Volker Lendecke
e17371b7f9 r17849: Next round for RPC-SAMBA3-SHARESEC 2007-10-10 14:16:48 -05:00
Stefan Metzmacher
dec228be4d r17789: remove compiler warnings
metze
2007-10-10 14:16:43 -05:00
Andrew Tridgell
ad539ec114 r17658: several replacement snprintf() fixes.
1) when running the testsuite, actually test against the system
   sprintf(), not against ourselves (doh!)

2) fix the buffer termination to terminate buf2 as well

3) fix handling of %llu, and add a simple test

This fixes a bug with password expiry on solaris
2007-10-10 14:16:20 -05:00
Simo Sorce
8483f61a1d r13592: Incredible how bugs like this can sweep in even after peer review and testing ... 2007-10-10 13:51:58 -05:00
Andrew Tridgell
487b374b43 r13401: remove the rename of the snprintf functions that simo accidentially
included in his last commit
2007-10-10 13:51:52 -05:00
Simo Sorce
398f989d65 r13374: new revision of the snprintf replace code
still missing a configure test to make us
substitute our snprintf to system one when
the system one does not have positional parameters support
2007-10-10 13:51:51 -05:00
Jeremy Allison
a2006c1628 r11797: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
<dtucker@zip.com.au>
Jeremy.
2007-10-10 13:46:29 -05:00
Jelmer Vernooij
fc7f519e4a r7166: Move replacement stuff to seperate directory
(easier to add win32-specific bits later)
Trim LIBBASIC a bit more
2007-10-10 13:17:22 -05:00