summaryrefslogtreecommitdiff
path: root/source4/lib/time.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r5123: fixed a bug in the timed events handling. It was possible for a timedAndrew Tridgell1-0/+8
event handler to trigger a free that could cause a timer to be triggered twice. This changs fixes it properly by marking timer events to be removed using a zero next_event time. I also changed the default timeout for events.c to be infinite, so if there are no events to handle then smbd will sit forever doing nothing. That allows it to be swapped out completely when idle. (This used to be commit 0f1fb7017ee441cbebcad45900435adb57ca1760)
2007-10-10r5093: Make debugs less confusing when a 0 NTTIME is printed.Andrew Bartlett1-1/+5
Andrew Bartlett (This used to be commit 9493c47b1833a4a7781303f8139f1636f86bf126)
2007-10-10r4670: abartlet was worried about floating point precision with my firstAndrew Tridgell1-2/+2
version - here is one based purely on 64 bit math (This used to be commit 1ff04b0dc3e680b6288622576bb373359a594c2f)
2007-10-10r4669: a timeval_to_nttime() function as requested by abartlet. Andrew, itsAndrew Tridgell1-0/+10
your responsibility to use/test this :-) (This used to be commit 2107b0cd7661a631952742bae241cb165b05c5f2)
2007-10-10r4063: - change char * -> uint8_t in struct request_bufferStefan Metzmacher1-5/+5
- change smbcli_read/write to take void * for the buffers to match read(2)/write(2) all this fixes a lot of gcc-4 warnings metze (This used to be commit b94f92bc6637f748d6f7049f4f9a30b0b8d18a7a)
2007-10-10r3976: changed NBENCH to use the same recording method as the latest dbench,Andrew Tridgell1-2/+21
where the warmup phase continues until all clients have done some file IO. This gives more repeatable results when under high load (This used to be commit aca0658f6dfe8b7c90afcac87e8cc68965a4288d)
2007-10-10r3723: Now that timestring() always returns talloc'ed memory, we don't needAndrew Bartlett1-1/+1
this talloc strdup here (do we?). Andrew Bartlett (This used to be commit d6aca06793b4bc72399c7357c5f357d6db036513)
2007-10-10r3579: with the gcc warning flag from abartlet we don't need sys_strftime()Andrew Tridgell1-11/+1
(This used to be commit 041f77b6a19c98599fe18d2eb4e86db00b40014e)
2007-10-10r3507: - added deferred replies on sharing violation in pvfs open. TheAndrew Tridgell1-3/+138
deferred reply is short-circuited immediately when the file is closed by another user, allowing it to be opened by the waiting user. - added a sane set of timeval manipulation routines - converted all the events code and code that uses it to use struct timeval instead of time_t, which allows for microsecond resolution instead of 1 second resolution. This was needed for doing the pvfs deferred open code, and is why the patch is so big. (This used to be commit 0d51511d408d91eb5f68a35e980e0875299b1831)
2007-10-10r3447: more include/system/XXX.h include filesAndrew Tridgell1-0/+1
(This used to be commit 264ce9181089922547e8f6f67116f2d7277a5105)
2007-10-10r3323: more warning reductionsAndrew Tridgell1-2/+10
(This used to be commit 5921587ec26e4892efc678421277e4969417d7f5)
2007-10-10r3238: rename null_mtime() to the more accurate name "null_time()", andAndrew Tridgell1-7/+7
expose it for use by the posix backend (This used to be commit 687633b5d68c8f883a4d9cdd92c660dabc5d7cfa)
2007-10-10r3223: continue the effort on LIBREPLACE to try to get the ldb tools toAndrew Tridgell1-33/+0
compile on platforms like solaris without having to link to the whole of the Samba4 lib directory. (This used to be commit f6862bfc1cbc9278914b4b73365f63d3da0a08dd)
2007-10-10r2646: - use a talloc destructor to ensure that sockets from the new socketAndrew Tridgell1-1/+1
library are closed on abnormal termination - convert the service.h structures to the new talloc methods (This used to be commit 2dc334a3284858eb1c7190f9687c9b6c879ecc9d)
2007-10-10r1228: use int64_t instead of long longStefan Metzmacher1-3/+3
(jra: please use: void, char int, uint_t, [u]int<8|16|32|64>_t types in new code) metze (This used to be commit 626bb153c45405f93a96bc5019241af506fac163)
2007-10-10r1086: Add defer open test to check timeout on sharing violation open.Jeremy Allison1-0/+7
This has found some signing errors in the Samba3.0 implementation of the deferred open code. Still working on these... Jeremy (This used to be commit 0068cb12ef91515a95f17a1be7dfbc83fbb89eba)
2007-10-10r962: convert 'unsigned' and 'unsigned int' to uint_tStefan Metzmacher1-2/+2
metze (This used to be commit 57151e80eb1090281401930c8fe25b20a8cf3a38)
2007-10-10r904: - fixed account expiry testing in auth_samAndrew Tridgell1-0/+6
- added printf style format attribute checking to samdb varargs fns - fix nt_time_to_unix() for zero and -1 times (This used to be commit 41f9b144f9fe77e92f960bd11b1df397a63fd2d5)
2007-10-10r890: convert samba4 to use [u]int8_t instead of [u]int8Stefan Metzmacher1-3/+3
metze (This used to be commit 2986c5f08c8f0c26a2ea7b6ce20aae025183109f)
2007-10-10r889: convert samba4 to use [u]int16_t instead of [u]int16Stefan Metzmacher1-6/+6
metze (This used to be commit af6f1f8a01bebbecd99bc8c066519e89966e65e3)
2007-10-10r884: convert samba4 to use [u]int32_t instead of [u]int32Stefan Metzmacher1-8/+8
metze (This used to be commit 0e5517d937a2eb7cf707991d1c7498c1ab456095)
2007-10-10r873: converted samba4 to use real 64 bit integers instead ofAndrew Tridgell1-76/+23
structures. This was suggested by metze recently. I checked on the build farm and all the machines we have support 64 bit ints, and support the LL suffix for 64 bit constants. I suspect some won't support strtoll() and related functions, so we will probably need replacements for those. (This used to be commit 9a9244a1c66654c12abe4379661cba83a73c4c21)
2007-10-10r601: added the server code for all the samr_SetUserInfo and ↵Andrew Tridgell1-8/+18
samr_QueryUserInfo levels except for the password set levels. This means that a large part of the RPC-SAMR torture test now runs correctly against Samba4 (This used to be commit ec0a51898f543578e755207d81ed5c1524861c64)
2007-10-10r587: added server code for samr_EnumDomainUsers, and started addingAndrew Tridgell1-0/+18
samr_SetUserInfo and samr_QueryUserInfo (This used to be commit e0db9659a85b59e52fbe033a94b411d6c64d9f9c)
2007-10-10r576: added a ldap_timestring() function (needed for fields like whenChanged ↵Andrew Tridgell1-0/+19
in SAM db) (This used to be commit b2a63555189fea41184a2cac796945bca4e98995)
2007-10-10r218: added a comment regarding the %c strftime() warningAndrew Tridgell1-0/+4
(This used to be commit 03c5dd88558bdd9ca714e6842ea65fa3b667657e)
2007-10-10r152: a quick airport commit ....Andrew Tridgell1-470/+123
added ldbedit, a _really_ useful command added ldbadd, ldbdel, ldbsearch and ldbmodify to build solved lots of timezone issues, we now pass the torture tests with client and server in different zones fixed several build issues I know this breaks the no-LDAP build. Wait till I arrive in San Jose for that fix. (This used to be commit af34710d4da1841653624fe304b1c8d812c0fdd9)
2003-08-13first public release of samba4 codeAndrew Tridgell1-0/+754
(This used to be commit b0510b5428b3461aeb9bbe3cc95f62fc73e2b97f)