diff options
author | Andrew Tridgell <tridge@samba.org> | 2000-04-16 09:41:39 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2000-04-16 09:41:39 +0000 |
commit | ad56e3d7915100a83b33ad36e627e13325197942 (patch) | |
tree | 74a7673b8983625cabd7a8e59da99eff3d0e507f /source/lib/system.c | |
parent | bd5cd502bf52164b95d7bfc026189e04988171db (diff) | |
download | samba-ad56e3d7915100a83b33ad36e627e13325197942.tar.gz samba-ad56e3d7915100a83b33ad36e627e13325197942.tar.xz samba-ad56e3d7915100a83b33ad36e627e13325197942.zip |
got rid of all the FILE* calls in the NT print system.
this also fixes a few security holes in that code. JF - you need to be
careful about open files for writing! symlinks can trap you.
note that I always unlink() the file first, then open with
O_EXCL. That is a cheap trick to avoid the symlink problems.
Diffstat (limited to 'source/lib/system.c')
0 files changed, 0 insertions, 0 deletions