summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-11-27fix a obscure compiler warningGuenther Deschner1-3/+3
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi Jeremy, I have never seen this warning before: "warning: comparison is always false due to limited range of data type". Guenther - -- Günther Deschner GPG-ID: 8EE11688 Red Hat gdeschner@redhat.com Samba Team gd@samba.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org iD8DBQFHTIOOSOk3aI7hFogRArxMAJwP0ktE96tHcwn9nXG6AOqonpeDgQCgm/zi 54B6HJZvx6zdUTMFFNWqUb0= =kUJa -----END PGP SIGNATURE----- >From 6a4935ee455adc1251fce2759f97d35f303bd40e Mon Sep 17 00:00:00 2001 From: =?utf-8?q?G=C3=BCnther=20Deschner?= <gd@samba.org> Date: Tue, 27 Nov 2007 21:48:39 +0100 Subject: [PATCH] Getting rid of "comparison is always false due to limited range of data type" warning. Guenther (This used to be commit 951202913956e113841585f7372e8db8f9aeb76a)
2007-11-27Remove pstring from everything in rpc_server exceptJeremy Allison8-273/+363
srv_spoolss_nt.c and srv_srvsvc_nt.c. They're next :-). Jeremy. (This used to be commit 55b4f9d003b036af69085f7b64e0df08c5ba440d)
2007-11-27Unless talloc has some new magic there is a ctx missing here.Günther Deschner1-4/+4
Guenther (This used to be commit 172f7ce96dc12cfc7d2209d8ed56aeebefd6207b)
2007-11-27Use the proper boolean constants - the type has beenMichael Adam1-76/+76
changed from BOOL to bool. Michael (This used to be commit 03673f2cd614526e7720275a5ba0869c68429f4d)
2007-11-27Remove some staticsVolker Lendecke9-46/+38
(This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
2007-11-26Remove pstrings from nsswitch/ and registry/Jeremy Allison9-572/+723
Jeremy. (This used to be commit 331c0d6216e1a1607a49ed7eb4078e10138ec16a)
2007-11-26Remove a globalVolker Lendecke1-5/+4
(This used to be commit 3088bc76f1ceffecaa5aea039be79973c9876f0c)
2007-11-26Fix bug 5055Volker Lendecke5-5/+5
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
2007-11-26Improve debug messageVolker Lendecke1-1/+2
Fix bug 5056, thanks to debian package maintainer (This used to be commit 5b4ba4bfc54e2fa468abe15383e5b33eb5bd1324)
2007-11-26Fix a C++ warningVolker Lendecke1-1/+1
(This used to be commit 9bf5ead4b2be57fa84e5b3137bfa0305a916f10f)
2007-11-261. lib/system.c (xattr code for Solaris) could not beTomoki AONO1-3/+6
built against c90 compilers. (declaration after statement.) Sample patch attached. (This used to be commit 102a247df99967f25dbaf40c9be2d48a8e15c64c)
2007-11-25In libsmbclient, map NT_STATUS_OBJECT_PATH_NOT_FOUND to ENOENTVolker Lendecke1-0/+1
Thanks to SATOH Fumiyasu! This fixes bug 4974 (This used to be commit 41e07682dc1fa535ddaf405efa26fabb33c8bbf9)
2007-11-24Remove a staticVolker Lendecke1-3/+5
(This used to be commit 85a84f72ffc440fb71744cb72de2dba07793123c)
2007-11-23Make remote_password_change return malloced error stringsVolker Lendecke3-36/+45
This fixes a segfault in smbpasswd -r (This used to be commit 49949f0b85007c7c2b3c340c12f3d18909862135)
2007-11-23add talloc_stackframe() to eventlogadmVolker Lendecke1-0/+2
Thanks to Günther Kukkukk for noticing (This used to be commit 9751cc222c70fd669a1cc1ad61ffb4e2e8444019)
2007-11-23printing: fix default printing subsystem detectionStefan Metzmacher1-1/+0
"system/printing.h" includes an outdated copy of the stuff in samba3's includes.h, so we should not use it. metze (This used to be commit 0a7338abfabaf31c2cbd81fb4ac8f1ce45735bed)
2007-11-23smbd: close_stat() should be staticStefan Metzmacher1-1/+1
metze (This used to be commit e186b60afacfb609968b581a6d32757e1885a319)
2007-11-22Do not link in SOCKET_WRAPPER_OBJ twiceVolker Lendecke1-1/+1
(This used to be commit 99b3289aa44c94c16f5330eba841fd9c21c6303b)
2007-11-22Cosmetic fixVolker Lendecke1-3/+3
(This used to be commit 8d8cb8f9ccbc013b97c252d27c3af4e2eb10d56a)
2007-11-22Add a missing prototypeVolker Lendecke1-0/+1
(This used to be commit 89e2984a84951373d0e93fe06d0c69c8a62bc777)
2007-11-22Fix an uninitialized variableVolker Lendecke1-0/+1
(This used to be commit e8b866ad87476ef69c06993d255269ce9fba3121)
2007-11-22Fix a type-punned warningVolker Lendecke1-1/+1
(This used to be commit 4c992e4340eda31e686a2d2a8db6364aaa456c11)
2007-11-21Merge ssh://git.samba.org/data/git/samba into v3-2-testJames Peach39-798/+1273
(This used to be commit 660ea443364e949ed06c28b00f0e1c3757f0da27)
2007-11-21Remove pstrings from pam_smbpass - make local_password_changeJeremy Allison5-125/+111
return malloced strings. Jeremy. (This used to be commit f652fe2bdb7a3a36e83dcf4b08347543fdffb9f0)
2007-11-21Remove pstring from printing/*.c except for theJeremy Allison6-249/+396
tdb_unpack requirement (I'll be making that an allocating interface later). Jeremy. (This used to be commit d2ee75326ac291ab4f1860075ba35f58703c7d9d)
2007-11-21Doh ! Don't use #else when #endif is needed.Jeremy Allison1-2/+1
Jeremy. (This used to be commit a04e916b89c901911ffc0a62e57a3ec87fe7ac28)
2007-11-21Add set_sockaddr_port function for winbindd.Jeremy Allison2-0/+15
Jeremy. (This used to be commit 4b47052694285a1d1d313dfd61bd17011d62948d)
2007-11-21Allocate a talloc_stackframe() in main() for wbinfo.Gerald (Jerry) Carter1-1/+3
(This used to be commit 30c9e3557bf4ca0b85e15bd7cc883391aec42f1f)
2007-11-21Fix unresolved symbols in smbumount from addition of talloc_stackframe().Gerald (Jerry) Carter1-2/+3
(This used to be commit 6b62b7dbab559ffc0047790c7ec68c1b30f0eff0)
2007-11-20Add talloc stackframe for ntlm_auth.cJeremy Allison1-0/+2
Jeremy. (This used to be commit 6f9c2910bdda605f90967e0aa6a84b8094f3a197)
2007-11-20Remove pstrcpy I missed.Jeremy Allison1-1/+0
Jeremy. (This used to be commit f5701756154e4e113414d8dd6c850685a2594801)
2007-11-20More pstring removal....Jeremy Allison3-69/+120
Jeremy. (This used to be commit 809f5ab4c595740b28425e1667e395a6058b76a8)
2007-11-20Remove pstring from services/*.cJeremy Allison2-148/+211
Jeremy. (This used to be commit 33aa866195e232f878230bc62e97e1484996afcc)
2007-11-20Ensure we have a talloc stackframe (found by Kukks).Jeremy Allison2-6/+10
Jeremy. (This used to be commit b409f1c3356a72216136411234b345666159c88b)
2007-11-20More pstring elimination.Jeremy Allison10-136/+257
Jeremy. (This used to be commit 15074de938539e7a9c527d9a6d81792adc2ac3d0)
2007-11-20Extend commit module to help with NFS quotas.David Losada Carballo2-26/+159
Add "commit on eof" and "commit past eof" modes. Patch from David Losada Carballo with some modifications during the merge. (This used to be commit 12eee4f7fe27bb4ca376301b959dbfb918b7ba2d)
2007-11-20More trivial pstring removal.Jeremy Allison6-59/+136
Jeremy. (This used to be commit bac3bb2f6e9e15b3a9a6a6511c484f8509918ca1)
2007-11-20Paranoia check that space_remaining never goes -ve.Jeremy Allison1-2/+10
Jeremy. (This used to be commit 76f9c0b2dccffbff7cbf98aa63f50b48ad7cb9cb)
2007-11-20Prevent segv in winbindd running on a DC using the "idmap backend" syntax.Gerald (Jerry) Carter1-7/+8
The number of domains should be counted as they are added and not assumed to match the loop counter. manually cherry-picked 8ad2826c48a0d4d26abc3bb209860c776f55822f (This used to be commit 99b75cada2c4caaec5d30c8351080f0a41e44bd1)
2007-11-19Remove more pstring. Unify talloc_sub functions to makeJeremy Allison3-121/+98
them a better match for replacing string_sub. Remove more unused code. Jeremy. (This used to be commit ae7885711f504f1442335f09088cbe149a7e00f9)
2007-11-19Start to remove some of the pstring functions we'reJeremy Allison2-34/+23
no longer using. Jeremy. (This used to be commit c21e9bdc1059268adbd14207e74097349676439e)
2007-11-19Always check return from push_ascii.Jeremy Allison2-1/+12
Jeremy. (This used to be commit 9c3d10521e691169cfbb8b728f123911c3c970ae)
2007-11-19Add stackframes to public libsmbclient functionsVolker Lendecke1-64/+245
As we use talloc_tos() in inner libsmbclient/ functions more and more, we need to make sure not to create memleaks by not free'ing talloc stackframes. This patch wraps all calls in libsmbclient.c that are publically exported into a talloc_stackframe()/talloc_free() pair. Jeremy, Derrell, can you check this? Thanks, Volker (This used to be commit db9fa472a89eb78a7b1f7cabcf195331c3b448d9)
2007-11-19Remove pstring from nmbd.Jeremy Allison11-123/+188
Jeremy. (This used to be commit a317f70c229f7730279eaa323f7ebfd499257f76)
2007-11-19Add error message to net rap file and net rap file userKarolin Seeger1-0/+8
(This used to be commit 759d6bcbec07434667ab8dd9a09f37fbe243c208)
2007-11-18Add a commentVolker Lendecke1-1/+7
(This used to be commit 144014096a41de293ce7ec15f82681a469dd3aa1)
2007-11-18Fix a valgrind errorVolker Lendecke1-3/+4
(This used to be commit b82120f9b7f5aad83d8b4ece0261e9693eedca0c)
2007-11-18Detect Heimdal Kerberos on OpenBSD 4.2.James Peach1-0/+17
Patch from Sean McCreary <samba-technical@mcwest.org>. (This used to be commit 8b0bee7c7688a966777f502c97922d7ad40d841c)
2007-11-16Remove pstring from modules directory.Jeremy Allison5-310/+589
Jeremy. (This used to be commit 977dc3accb3d440e5fd19591c425da7dc3718d94)
2007-11-16Ensure we use PATH_MAX for symlinks.Jeremy Allison1-2/+2
Jeremy. (This used to be commit a90ef69350c5efcf8dcf95d4853cbe3c662d1ba3)