aboutsummaryrefslogtreecommitdiff
path: root/winsup
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2013-06-19 17:21:25 +0000
committerChristopher Faylor <me@cgf.cx>2013-06-19 17:21:25 +0000
commit5e24aee56c445aade1bdd5c1aadd2a510c174f7d (patch)
tree9efcd48007ce65f56bb0a9a9a4b4a2b812f61f54 /winsup
parent25855a013938434b00178e85f16dc310bee648b5 (diff)
downloadnewlib-5e24aee56c445aade1bdd5c1aadd2a510c174f7d.zip
newlib-5e24aee56c445aade1bdd5c1aadd2a510c174f7d.tar.gz
newlib-5e24aee56c445aade1bdd5c1aadd2a510c174f7d.tar.bz2
* winf.h (av::unshift): Make __reg2.
Diffstat (limited to 'winsup')
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/winf.h5
2 files changed, 7 insertions, 2 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 48a1314..be9863e 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2013-06-19 Christopher Faylor <me.cygwin2013@cgf.cx>
+ * winf.h (av::unshift): Make __reg2.
+
+2013-06-19 Christopher Faylor <me.cygwin2013@cgf.cx>
+
* spawn.cc (child_info_spawn::worker): Eliminate call to newargv.set()
in favor of conglomerated newargv.setup(). Let newargv.setup() decide
when to call dup_all(). Only set argc and argv for cygwin processes.
diff --git a/winsup/cygwin/winf.h b/winsup/cygwin/winf.h
index b99a4f3..3dd63b5 100644
--- a/winsup/cygwin/winf.h
+++ b/winsup/cygwin/winf.h
@@ -43,7 +43,7 @@ class av
cfree (argv);
}
}
- int unshift (const char *what, int conv = 0);
+ int unshift (const char *what, int conv = 0) __reg2;
operator char **() {return argv;}
void all_calloced () {calloced = argc;}
void replace0_maybe (const char *arg0)
@@ -61,7 +61,8 @@ class av
argv[i] = cstrdup1 (argv[i]);
calloced = argc;
}
- int setup (const char *, path_conv&, const char *, int, const char *const *, bool) __reg3;
+ int setup (const char *, path_conv&, const char *, int, const char *const *,
+ bool) __reg3;
};
class linebuf