4 void gitunsetenv (const char *name
)
12 for (src
= dst
= 0; environ
[src
]; ++src
) {
14 enln
= strlen(environ
[src
]);
16 /* might match, and can test for '=' safely */
17 if (0 == strncmp (environ
[src
], name
, nmln
)
18 && '=' == environ
[src
][nmln
])
19 /* matches, so skip */
22 environ
[dst
] = environ
[src
];