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

Side by Side Diff: src/trusted/service_runtime/env_cleanser.c

Issue 889703003: Update comments referring to Chromium-side src/trusted/plugin code (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 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
« no previous file with comments | « pnacl/driver/pnacl-translate.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Native Client Authors. All rights reserved. 2 * Copyright (c) 2011 The Native Client Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include <stdio.h> 7 #include <stdio.h>
8 #include <stdlib.h> 8 #include <stdlib.h>
9 #include <string.h> 9 #include <string.h>
10 10
(...skipping 30 matching lines...) Expand all
41 "LC_IDENTIFICATION", 41 "LC_IDENTIFICATION",
42 "LC_MEASUREMENT", 42 "LC_MEASUREMENT",
43 "LC_MESSAGES", 43 "LC_MESSAGES",
44 "LC_MONETARY", 44 "LC_MONETARY",
45 "LC_NAME", 45 "LC_NAME",
46 "LC_NUMERIC", 46 "LC_NUMERIC",
47 "LC_PAPER", 47 "LC_PAPER",
48 "LC_TELEPHONE", 48 "LC_TELEPHONE",
49 "LC_TIME", 49 "LC_TIME",
50 "NACLVERBOSITY", 50 "NACLVERBOSITY",
51 "NACL_PLUGIN_DEBUG", /* src/trusted/plugin/srpc/utility.cc */ 51 "NACL_PLUGIN_DEBUG", /* Chromium's plugin/utility.cc */
52 "NACL_SRPC_DEBUG", /* src/shared/srpc/utility.c */ 52 "NACL_SRPC_DEBUG", /* src/shared/srpc/utility.c */
53 NULL, 53 NULL,
54 }; 54 };
55 55
56 /* left arg is key, right arg is table entry */ 56 /* left arg is key, right arg is table entry */
57 static int EnvCmp(void const *vleft, void const *vright) { 57 static int EnvCmp(void const *vleft, void const *vright) {
58 char const *left = *(char const *const *) vleft; 58 char const *left = *(char const *const *) vleft;
59 char const *right = *(char const *const *) vright; 59 char const *right = *(char const *const *) vright;
60 char cleft, cright; 60 char cleft, cright;
61 61
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
172 } 172 }
173 173
174 char const *const *NaClEnvCleanserEnvironment(struct NaClEnvCleanser *self) { 174 char const *const *NaClEnvCleanserEnvironment(struct NaClEnvCleanser *self) {
175 return (char const *const *) self->cleansed_environ; 175 return (char const *const *) self->cleansed_environ;
176 } 176 }
177 177
178 void NaClEnvCleanserDtor(struct NaClEnvCleanser *self) { 178 void NaClEnvCleanserDtor(struct NaClEnvCleanser *self) {
179 free((void *) self->cleansed_environ); 179 free((void *) self->cleansed_environ);
180 self->cleansed_environ = NULL; 180 self->cleansed_environ = NULL;
181 } 181 }
OLDNEW
« no previous file with comments | « pnacl/driver/pnacl-translate.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698