- Timestamp:
- Aug 9, 2007 5:26:04 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/env-generic.cpp
r4071 r4101 130 130 RTDECL(int) RTEnvClone(PRTENV pEnv, char const *const *apszEnv) 131 131 { 132 #ifndef RT_OS_L4 /* So far, our L4 libraries do not include environment support. */ 132 133 if (apszEnv == NULL) 133 134 apszEnv = environ; … … 136 137 size_t cEnv = 0; 137 138 for (; apszEnv[cEnv]; ++cEnv) {} 139 #else 140 size_t cEnv = 0; 141 #endif 138 142 139 143 struct RTENVINTERNAL *pIntEnv; … … 143 147 return rc; 144 148 149 #ifndef RT_OS_L4 145 150 for (size_t i = 0; i < cEnv; ++i) 146 151 { … … 155 160 ++pIntEnv->cCount; 156 161 } 162 #endif 157 163 158 164 if (RT_SUCCESS(rc))
Note:
See TracChangeset
for help on using the changeset viewer.