Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Side by Side Diff: patches/nss-sqlite-tempfilename-ifdef.patch

Issue 12197027: Merge NSS_3_14_2_RTM. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/nss/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 diff --git mozilla/security/nss/lib/softoken/sdb.c mozilla/security/nss/lib/soft oken/sdb.c
2 index 0d25953..de6cfc3 100644
3 --- mozilla/security/nss/lib/softoken/sdb.c
4 +++ mozilla/security/nss/lib/softoken/sdb.c
5 @@ -257,6 +257,9 @@ sdb_getFallbackTempDir(void)
6 static char *
7 sdb_getTempDir(sqlite3 *sqlDB)
8 {
9 +#ifndef SQLITE_FCNTL_TEMPFILENAME
10 + return sdb_getFallbackTempDir();
11 +#else
12 int sqlrv;
13 char *result = NULL;
14 char *tempName = NULL;
15 @@ -295,6 +298,7 @@ sdb_getTempDir(sqlite3 *sqlDB)
16
17 sqlite3_free(tempName);
18 return result;
19 +#endif
20 }
21
22 /*
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698