1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source3/printing
Volker Lendecke 4a35c974e9 Only copy sharename up from rap_to_pjobid
Why?? :-)

Another one of the little micro-optimizations that I just came across: If you
allocate a variable in a sub-block like the "fstring sharename" in
write_file(), gcc even with -O3 will allocate this variable unconditionally on
the stack at the beginning of the routine. So with eliminating this fstring we
cut 256 bytes of stack in a very hot code path writing to a file. It might make
us a bit more cache-friendly.

This would probably not be worth a second look if it involved larger code
changes, but this one was just too simple to let it pass :-)
2009-03-01 12:27:55 +01:00
..
tests Fix printf warnings found on systems where time_t <> long int. 2009-02-19 13:36:20 -08:00
load.c If you have a large number of cups printers, then scanning for print info can cause a client to timeout 2008-10-10 11:55:14 -07:00
lpq_parse.c Fix some scary FC9 warnings 2008-06-10 17:21:23 +02:00
notify.c s3-spoolss: fix notify_printer_status_byname. 2009-02-24 01:08:03 +01:00
nt_printing.c s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags. 2009-02-27 13:33:15 +01:00
pcap.c Remove silly safe_free() function which is a wrapper around SAFE_FREE(). 2008-10-19 13:06:14 +02:00
print_aix.c Remove silly safe_free() function which is a wrapper around SAFE_FREE(). 2008-10-19 13:06:14 +02:00
print_cups.c Fix Coverity ID 740 (RESOURCE_LEAK) 2009-02-13 21:55:10 +01:00
print_generic.c Fix more asprintf warnings and some error path errors. 2008-12-23 12:11:12 -08:00
print_iprint.c Remove most of the remaining globals out of lib/util_sock.c. 2007-11-03 23:20:10 -07:00
print_svid.c Use common util_file code. 2008-10-12 17:34:43 +02:00
printfsp.c Only copy sharename up from rap_to_pjobid 2009-03-01 12:27:55 +01:00
printing_db.c s3: put printing/ under cache_dir, not lock_dir 2009-01-16 01:02:24 +01:00
printing.c Only copy sharename up from rap_to_pjobid 2009-03-01 12:27:55 +01:00