diff options
author | Jeremy Allison <jra@samba.org> | 2000-03-16 20:55:37 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2000-03-16 20:55:37 +0000 |
commit | e601c0259e9e6a48e04ce3e0ff793cb564a89716 (patch) | |
tree | 43bd810549c4ecaff98bb9853750de16af73d554 /source3/printing | |
parent | a36d737c88b002787014b04788460ca65b4dcbe5 (diff) | |
download | samba-e601c0259e9e6a48e04ce3e0ff793cb564a89716.tar.gz samba-e601c0259e9e6a48e04ce3e0ff793cb564a89716.tar.bz2 samba-e601c0259e9e6a48e04ce3e0ff793cb564a89716.zip |
Fixes to add "paranoid" option to popen. Checks some basic things.
Jeremy
(This used to be commit 3b8cbb10de322fd7a1063fb5b681790b10d24ab0)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/print_svid.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/print_svid.c b/source3/printing/print_svid.c index 9891e158a2..21e8eeb643 100644 --- a/source3/printing/print_svid.c +++ b/source3/printing/print_svid.c @@ -49,7 +49,7 @@ static void populate_printers(void) { FILE *fp; - if ((fp = sys_popen("/usr/bin/lpstat -v", "r")) != NULL) { + if ((fp = sys_popen("/usr/bin/lpstat -v", "r", False)) != NULL) { char buf[BUFSIZ]; while (fgets(buf, sizeof (buf), fp) != NULL) { |