aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-tcp-stream-ssl.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-11-09 08:38:51 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-11-09 08:38:51 +0800
commit4e96a9415be10f8184d8b3b2e47f879f78faeac7 (patch)
tree7ae849686d99f573a0a1057cd672389e791dabe9 /camel/camel-tcp-stream-ssl.c
parentbb3c3db704d2fa151db65946ae2cdb6c254b99cb (diff)
downloadgsoc2013-evolution-4e96a9415be10f8184d8b3b2e47f879f78faeac7.tar.gz
gsoc2013-evolution-4e96a9415be10f8184d8b3b2e47f879f78faeac7.tar.zst
gsoc2013-evolution-4e96a9415be10f8184d8b3b2e47f879f78faeac7.zip
Oops, pass a mode argument to the open() call.
2001-11-07 Jeffrey Stedfast <fejj@ximian.com> * camel-tcp-stream-ssl.c (save_ssl_cert): Oops, pass a mode argument to the open() call. * camel-tcp-stream-openssl.c (save_ssl_cert): Oops, pass a mode argument to the open() call. svn path=/trunk/; revision=14636
Diffstat (limited to 'camel/camel-tcp-stream-ssl.c')
-rw-r--r--camel/camel-tcp-stream-ssl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-tcp-stream-ssl.c b/camel/camel-tcp-stream-ssl.c
index 9adf49837a..167d94b8b7 100644
--- a/camel/camel-tcp-stream-ssl.c
+++ b/camel/camel-tcp-stream-ssl.c
@@ -363,7 +363,7 @@ save_ssl_cert (const char *certid)
filename = g_strdup_printf ("%s/%s", path, certid);
g_free (path);
- fd = open (filename, O_WRONLY | O_CREAT);
+ fd = open (filename, O_WRONLY | O_CREAT, 0600);
if (fd != -1)
close (fd);
6-07 04:58:52 +0800'>2002-06-071-1/+9 * Only run ldconfig -aout commands on i386kris2002-06-071-6/+16 * Use correct variable for symlinking src scripts.will2002-06-021-1/+1 * Support PATCH_WRKSRC. Seetrevor2002-05-251-3/+3 * Track setup.sh usage.will2002-05-202-2/+7 * Use the right variable name.will2002-05-201-1/+1 * Use a RE to find the X dependency instead of hardcoding.will2002-05-201-2/+2 * Streamline instructions a little more.will2002-05-201-4/+12 * Add this makefile to help people who are performing package splits towill2002-05-201-0/+48 * Add CD configs for use by these scripts.will2002-05-201-0/+16 * More useful exit if dir not passed.will2002-05-161-0/+4 * Accept dir as argument instead of hardcoding.will2002-05-161-1/+5 * - Catch up to buildenv changes.kris2002-05-131-12/+21 * Comment out the kernel building and just link to kernel.GENERIC.kris2002-05-131-5/+6 * Zap some unused code. Catch up to buildenv changes.kris2002-05-131-7/+1 * - Switch default to XFree86-4.x for all brancheskris2002-05-131-3/+6 * Fix breakage introduced in the previous commit.sobomax2002-05-101-6/+3 * - Make ${DISTDIR} auto-detection actually working;sobomax2002-05-101-2/+5 * Allow overriding ${PORTSDIR} and respect ${DISTDIR} settings.sobomax2002-05-071-5/+15 * * Change path directory separator character back to _. The problem is "::"obrien2002-04-191-1/+3 * Fix breakage introduced in previous commit when EXTRA_PATCHES isn't defined.sobomax2002-04-171-1/+1 * Recognise EXTRA_PATCHES.sobomax2002-04-161-0/+6 * Set the $scripts directory to the same as $dir to make these more usefulsteve2002-03-272-2/+2 * This file is nearly a verbatim copy of setup.sh so this one issteve2002-03-271-11/+0 * Add a missed file which acts as a driver for the others.will2002-03-272-0/+141 * Add the scripts used to break up the package collections for a release.will2002-03-276-0/+490 * * Clean up this script a bitkris2002-03-251-36/+49 * * Clean up this script a bitkris2002-03-251-19/+27 * Detect a couple more failure modeskris2002-03-251-0/+6 * Add MASTER_SITE_OVERRIDE to the list of variables propagated, so thatkris2002-03-251-0/+2 * Update OSVERSIONS. This needs to be switched to buildenv.kris2002-03-161-3/+3 * Use buildenv for setting environment variables, and tidy up a bit. Fixkris2002-03-161-65/+32 * Pull environment variables from buildenv, and tidy up a bit.kris2002-03-161-12/+8 * Collect some more environment variables here and tidy up a bitkris2002-03-161-7/+14 * Clean up index generation:kris2002-03-111-29/+26 * Set all of the <bsd.port.mk> control variables to be used in port/packagekris2002-03-111-0/+44 * Zap support for 2.2 and 3.xkris2002-03-111-12/+0 * Reenable use of the -M option and add a -d option to put @dirrm commandsgreen2002-03-111-4/+17 * * Ports get built under ${scratchdir}, not under ${pb}..this was prettykris2002-03-101-28/+30 * * Use portbuild.conf for config information.kris2002-03-101-4/+8 * Add -nocdrom option to usagekris2002-03-101-1/+1 * * Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an optionkris2002-03-101-10/+19 * Reverse sense of NOPLISTCHECK -> PLISTCHECK, since it's not an optionkris2002-03-101-1/+1 * Ports are built in ${scratchdir}, not ${pb}kris2002-03-101-1/+1 * * Document the purpose of this scriptkris2002-03-101-1/+12 * Add new version of uname for 5.x bindistskris2002-03-101-0/+67 * Add template file from bentokris2002-03-101-0/+6 * Don't hard-code a version string to report to the chroots, pick it upkris2002-03-101-2/+8 * Garbage collect these old configuration directories, since we don'tkris2002-02-2510-303/+0 * Clean up this script a bit:kris2002-02-241-13/+60 * Axe support for 2.2.x and 3.x branches, and make this script more robustkris2002-02-241-14/+8 * When the 'makeduds' script fails, show the contents of the duds file insteadkris2002-02-241-1/+2 * Catch up to changes on bento:kris2002-02-111-10/+10 * Catch up to changes on bento:kris2002-02-111-0/+7 * Catch up to changes on bento:kris2002-02-111-1/+8 * Catch up to changes on bento:kris2002-02-111-14/+11 * Catch up to changes on bento:kris2002-02-112-6/+20 * Catch up to changes on bento:kris2002-02-111-4/+4 * Catch up to changes on bento:kris2002-02-111-3/+11 * Catch up with changes from bento:kris2002-02-111-48/+66 * Document the use and purpose of this script.kris2002-02-111-0/+5 * Describe the meaning of the mlist file a bit better, and update step 9 inkris2002-02-111-7/+10 * Document the purpose of this script and the algorithm it uses tokris2002-02-111-0/+23 * Document the purpose of this script. Use the temp directory for tempfileskris2002-02-111-1/+5 * Document the purpose of this script.kris2002-02-111-0/+3 * Add a comment describing what this script does.kris2002-02-111-0/+2 * Support tools that don't have u@h syntax but h -l u.will2002-01-301-1/+1 * - New option `-e' - threat warnings as errors;sobomax2002-01-141-8/+19 * Add license and cvs tag.sobomax2002-01-131-0/+15 * Add chkdepschain.py - a tool to address one of the most annoying when it comessobomax2002-01-131-0/+294 * Ignore patchfiles ending with `.orig' and `.rej'.sobomax2002-01-041-1/+7 * - Use `::' as a combination of symbols to replace `/' in patchfile name;sobomax2002-01-041-18/+22 * Don't trap SIGINFO.sobomax2001-12-201-2/+2 * Add checkcats.py - a script that verifyes that master categories in all portssobomax2001-12-112-1/+51 * Make the tool working even if there is a symlink in a given path to a port'ssobomax2001-12-051-1/+28 * Actually use the user's group name, not their username, for the *GRPnbm2001-11-181-1/+1 * Add another check for duplicate installations of same port. Onlyasami2001-10-151-3/+5 * Use 'id -un' and 'id -gn' for user and group information, not 'logname'.nbm2001-08-173-7/+80 * Actually fix the breakage introduced in rev 1.2.sobomax2001-07-311-2/+0 * Fix breakage introduced in previous commit.sobomax2001-07-311-1/+1 * Fix a bug that in some rare cases may lead to a patch not being properlysobomax2001-07-311-0/+2 * Trap signal 31 as well (typo).sobomax2001-07-301-2/+2 * Unbroke when /usr/ports is symlink.sobomax2001-07-301-2/+2 * Fix problems in previous commit:sobomax2001-05-171-5/+5 * - Add an option to disable interactive confirmation;sobomax2001-05-171-1/+18 * Stopgap bugfix to avoid the case where a user invokes -t and ends up withwill2001-05-011-3/+4 * Be more specific in trying to exclude man pages - look for 'man/man',nbm2001-04-021-1/+1 * Steal the 'hmake' variable building from mkpinstall. This wasn'tnbm2001-04-021-4/+6 * Add patchtool - a tool to automate generation/updating of patchfiles. Thissobomax2001-03-192-0/+775 * Look into arch-specific distinfo's as well.sobomax2001-03-191-2/+2 * Make plist work again with new-found use of line continuation ingreen2001-03-131-9/+16 * Uncomment and update OSREL and OSVERSION in preparation for 4.3R.asami2001-03-123-6/+6 * Tweak to catch missing directories from the Makefiles in the varioussteve2001-03-081-1/+5 * mkbindist is in scripts/ now, with ${branch}/mkbindist.conf specifyingasami2001-03-014-100/+12 * Do not hardcode /tmp as a temp directory base, try $TMPDIR, $TMP androam2001-02-222-4/+41 * (1) Update values of OSREL/OSVERSION to match reality.asami2001-02-213-15/+15 * Some minor additions so that we act a bit more like NetBSD's url2pkg; wenbm2001-02-021-1/+7 * A few new features:asami2001-01-211-14/+22 * Fix off-by-one error that was causing an infinite loop in some verywill2001-01-171-1/+1 * Use the -p option with diff. Add a FreeBSD tag. Don't try totrevor2001-01-131-24/+7 * Fix two bugs: pass $passenv to make *always*; remember that the initialwill2001-01-071-3/+3 * Make plist (the Ruby script) a tad more useful: build in mtree supportgreen2001-01-071-26/+54 * As a quick fix, use /tmp instead of the currently hardcoded /usr/tmp.nbm2001-01-032-2/+2 * Add (a currently very bare) mkpbuild, and (the more useful) mkpinstall.nbm2001-01-032-0/+136 * Fix breakage when someone uses -t option: pass DISTDIR environment variablewill2001-01-021-7/+9 * Several changes. First, depend on another environment variable ratherwill2001-01-011-12/+14 * Here's my holiday present to the ports team: new -l option allows you towill2000-12-311-19/+95 * Add new option: -c file : Pass a file containing the log message for thewill2000-12-301-3/+23 * Add -g option to disable committing to CVSROOT/modules, useful if someonewill2000-12-191-2/+5 * master is back to bento.asami2000-12-181-1/+2 * Combine the scripts for building the bundist tarballs. The per-branchasami2000-12-181-0/+70 * Functional modification: Make -n only apply to cvs commit, NOT *all*will2000-12-091-3/+3 * Use YYYYMMDDHH for log files so we can have two builds on the sameasami2000-11-081-1/+8 * (1) New flag, -ftp, indicates packages are to be copied over to theasami2000-11-081-17/+52 * Add standard 2-clause BSD license to protect my (and mharo's) copyright.will2000-11-041-0/+24 * s|pkg/PLIST|pkg-plist|gsobomax2000-10-211-3/+3 * Add update-patches, a script to generate updated versions of thetrevor2000-10-192-1/+139 * Add plist, a script to automate the generation of a pkg-plist.green2000-10-172-0/+65 * Overhaul addport again. Should be quite functional now.will2000-10-141-22/+70 * Add the first efforts on my mkptools, the successor to makeport.pl.nbm2000-10-144-0/+613 * Since people don't seem to appreciate the fact that addport can dowill2000-10-111-26/+0 * Ajust for a new world order (md5 --> distinfo).sobomax2000-10-091-3/+3 * Name change, files/md5 -> distinfo. (Only change is to message -- theasami2000-10-091-2/+2 * Hack this file beyond recognition to cope with both the old and newasami2000-10-061-9/+12 * Need to quote su -c command with ", not ' since I've got variablesasami2000-10-061-1/+1 * Typo (/etc/portbuild -> /var/portbuild).asami2000-10-061-1/+1 * Comment out OSREL settings -- these are taken from /usr/bin/unameasami2000-10-061-5/+7 * Use -t flag with portlint.will2000-10-041-1/+1 * Fix bogon where replies were not chomp()'d.will2000-10-011-0/+1 * Detect two more failures -- fetch timeout and runaway process (which isasami2000-09-291-0/+4 * Don't delete modules, it might be needed.asami2000-09-271-1/+0 * Read in configuration variables from /var/portbuild/portbuild.conf.asami2000-09-272-4/+6 * Pull in configuration variables from /var/portbuild/portbuild.conf.asami2000-09-279-29/+48 * A configuration file where all options reside.asami2000-09-271-0/+17 * A little script to call "at" to copy the packages.asami2000-09-271-0/+7 * Don't whack old packages, we have enough disk space to keep a few setsasami2000-09-271-31/+58 * Remove syslog message about a load file being empty -- I know it happens now.asami2000-09-271-1/+1 * Make sure you're given the "start" argument before trying to start the script.asami2000-09-271-0/+2 * Don't add packages that are already installed.asami2000-09-271-7/+17 * A little script to kill makes that haven't printed out any message inasami2000-09-271-0/+70 * Change "grep *.log" to "find . -name '*.log' | xargs grep", the number ofasami2000-09-271-1/+1 * Catch one more case of XFree86-4 manpage building error.asami2000-09-271-0/+7 * Remove an extra message that only served to clutter the logs.asami2000-09-271-1/+1 * Don't try to process logs twice by protecting this script with a lock file.asami2000-09-271-1/+9 * Add -t and -n flags to ssh. (-t flag suggested by: ps)asami2000-09-271-4/+4 * Change lock file name to "cppackages.lock" so it's clear it's a lock.asami2000-09-271-1/+1 * When NODUMMY is defined, set XFREE86_VERSION to 4 and MOTIF_OPEN to t.asami2000-09-272-0/+15 * Don't remove the distfiles from the backup directory -- the nextasami2000-09-271-2/+0 * Exit with error status in ${portbuild}/status when an error occurs.asami2000-08-291-45/+170 * Split build into two phases, checksum and package, and copy theasami2000-08-291-18/+65 * Instead of doing a pwd | grep (duh!) to find the branch we areasami2000-08-291-15/+16 * The errors and logs are now in the archive directory namedasami2000-08-291-1/+1 * Change find command line to find potential security hazards (portsasami2000-08-291-2/+2 * Run build on three branches. Check the status file filled out byasami2000-08-291-3/+39 * Handle arbitrary number of log directories instead of just two.asami2000-08-291-22/+37 * Ignore empty loads files -- it seems scp in OpenSSH sometimes leavesasami2000-08-291-1/+5 * Handle three branches instead of two. Use a for loop instead of justasami2000-08-291-12/+13 * Add -f to forcefully umount /usr/src and /usr/obj before reboot.asami2000-08-291-1/+1 * Add branch=5 case and update some variables. Don't set NO_RESTRICTED,asami2000-08-291-5/+14 * Add branch=5 case and update some variables. Don't set NO_RESTRICTED,asami2000-08-291-5/+11 * Print uptime after the number of jobs running. This has no functionalasami2000-08-291-1/+2 * A little script that tries to "undo" a package build. Basically just renamesasami2000-08-291-0/+6 * A small script to copy packages over to the ftp site. It is not integratedasami2000-08-291-0/+35 * A small script to copy distfiles from per-port directory to centralasami2000-08-291-0/+17 * Remove bak/distfiles after it's done -- this script is now called inasami2000-08-291-0/+2 * (1) Use timestamp file to make log processing lazier -- only processasami2000-08-291-3/+22 * Read package build log files and compile a list of "extra" files in anasami2000-08-291-0/+67 * New script (and it's README) for searching the ports tree. Add this scriptmarko2000-08-283-0/+349 * Make -n work again. Add new option -s to allow people to specify awill2000-08-191-11/+30 * Properly check -d argument, and return usage() if it's not there. Also usewill2000-08-121-6/+9 * Minor cleanups. Print usage() if no arguments are passed. Get rid ofwill2000-08-111-19/+10 * Add -nocopy option to prevent bindist.tar from being copied over. Couldasami2000-08-111-7/+17 * Major update to addport. Many *MANY* bugfixes. Addport should now workwill2000-08-101-160/+211 * Fix special case where people use ``.'' for the argument to -d. I'm notwill2000-08-061-1/+6 * Make this run on ${portbuild}/bak/distfiles rather thanasami2000-08-041-5/+15 * Add missed '>' to my e-mail.sobomax2000-08-023-4/+4 * Add gnomedepends.py to our collection of helpfull scripts.sobomax2000-08-022-1/+164 * Various fixes and improvements.sobomax2000-07-191-5/+5 * Add hack for gzipped files that are not .tar.gz files and uncompressalex2000-07-191-2/+3 * Fix benign bug which had the script claiming to delete any package thatasami2000-07-131-1/+1 * Add "-s" (silent) option useful for shell scripts.sobomax2000-07-101-18/+41 * Add checknewver.sh - a shell script which checks for availability of newestsobomax2000-07-071-0/+85 * Add checknewvers.sh - a script which checks for availability of the newestsobomax2000-07-071-0/+2 * Back out (1) in previous commit -- extra directories are fatal again.asami2000-07-061-5/+1 * Allow existing CVS_RSH environment var to take precedent.sobomax2000-07-041-1/+8 * Allow existing CVS_RSH environment var to take precedent.will2000-07-041-2/+4 * (1) Make extra files fatal errors only if they are files -- extraasami2000-07-021-2/+9 * Fix addport so that it will work on freefall. Remove old cruft leftwill2000-07-011-13/+28 * Add close-pr - a slightly hacked version of edit-pr(1) to quickly close PR.sobomax2000-06-272-0/+364 * Add extract-lines for .Z archives.alex2000-06-101-1/+7 * Add a traling slash ("/") to the /usr/ports/ and /usr/ports/distfiles/ to makesobomax2000-06-061-3/+3 * Add tag and MAINTAINER.sobomax2000-06-051-4/+4 * Add distclean.sh - a little script to check set of distfiles against currentlysobomax2000-06-052-5/+71 * Update for multiple ports. Also add MAINTAINER/Created [on,by] lines.will2000-05-241-41/+57 * Add checksum.sh script that checks a port or ports for broken distfiles andwill2000-05-222-0/+66 * Make getpr work for remote committers as well.sobomax2000-05-191-2/+7 * (1) Make this file callable in two phases (checksum, package) so distfilesasami2000-05-081-31/+110 * Readme describing all the scripts in this directory. Somebody good atmharo2000-05-021-0/+47 * 3 little scripts I use when dealing with port update PRs.mharo2000-05-023-0/+147 * Future replacement to easy-import for adding ports to the tree.mharo2000-05-021-0/+243 * A tool to check whether all your ports are installed properly, what filesmharo2000-05-021-0/+143 * (1) Be a little less picky about finding read-only mounts.asami2000-03-221-4/+6