ObjFW  Diff

Differences From Artifact [818d93f949]:

To Artifact [ba8b4a32b1]:


255
256
257
258
259
260
261
262

263
264

265
266
267
268
269
270
271
272
255
256
257
258
259
260
261

262


263

264
265
266
267
268
269
270







-
+
-
-
+
-







				if (pos == OF_NOT_FOUND) {
					fprintf(stderr,
					    "Warning: Invalid environment "
					    "variable: %s\n", tmp.UTF8String);
					continue;
				}

				key = [tmp substringWithRange:
				key = [tmp substringToIndex: pos];
				    of_range(0, pos)];
				value = [tmp substringWithRange:
				value = [tmp substringFromRange: pos + 1];
				    of_range(pos + 1, tmp.length - pos - 1)];

				[_environment setObject: value
						 forKey: key];

				objc_autoreleasePoolPop(pool);
			}

301
302
303
304
305
306
307
308

309
310

311
312
313
314
315
316
317
318
299
300
301
302
303
304
305

306


307

308
309
310
311
312
313
314







-
+
-
-
+
-







				if (pos == OF_NOT_FOUND) {
					fprintf(stderr,
					    "Warning: Invalid environment "
					    "variable: %s\n", tmp.UTF8String);
					continue;
				}

				key = [tmp substringWithRange:
				key = [tmp substringToIndex: pos];
				    of_range(0, pos)];
				value = [tmp substringWithRange:
				value = [tmp substringFromIndex: pos + 1];
				    of_range(pos + 1, tmp.length - pos - 1)];

				[_environment setObject: value
						 forKey: key];

				objc_autoreleasePoolPop(pool);
			}