Displaying 1 result from an estimated 1 matches for "sepbuf".
Did you mean:
sembuf
2011 Jan 07
1
[RFC/PATCH] ssh: config directive to modify the local environment
...um_local_env_mods > 0) {
+ char thishost[NI_MAXHOST];
+
+ if (gethostname(thishost, sizeof(thishost)) == -1)
+ fatal("gethostname: %s", strerror(errno));
+ snprintf(buf, sizeof(buf), "%d", options.port);
+
+ for (i = 0; i < options.num_local_env_mods; i++) {
+ char sepbuf[2], *oldval;
+ int prepend = 0;
+ int op = options.local_env_mods[i].operation;
+ if (0 > op) {
+ prepend = 1;
+ op = -op;
+ }
+ sepbuf[0] = op;
+ sepbuf[1] = '\0';
+ debug3("expanding LocalEnvMod: %s %s%s= %s",
+ options.local_env_mods[i].name,
+...