- May 19, 2014
-
-
Brad King authored
When we kill a child we send SIGSTOP first so that we can traverse its child processes recursively. On unwinding the recursion we then send SIGKILL. Current Cygwin has trouble when both signals are sent in quick succession by the parent process. Add a usleep(1) after sending the first signal to give up our time slice and give Cygwin a chance to process the first signal before sending the second. Change-Id: I75ab55cf969a0ea6104a9798c761c0ba1fcd1dbc
-
- May 16, 2014
-
-
Brad King authored
The cygwin_conv_to_win32_path function is deprecated in favor of cygwin_conv_path. Use the latter. Change-Id: I416c3b3360cd5085ed51dd60375c7e0b3b9ca1cb
-
- May 07, 2014
-
-
Change-Id: I51d3522ff01c360542c5f3c25bec9ce56307b809
-
Change-Id: I50bab3aa8ea1d95dce5220d92aaad90916bf33da
-
Change-Id: Ia355093ee73937ecb276a42bac2b837e3fe496b5
-
Change-Id: Ieb7479b6cde5edebe0b6b4ec132d8dd7b413d039
-
Change-Id: Ic80a61bd1bb23f46b2b1875e672a4dc4f93cc7ce
-
The arguments are turned into strings right away. Change-Id: I9dfdc37f2317270da2878632d8e02142a641beda
-
The arguments are assumed to be non-null. Change-Id: Ibe8e9fc9c932efc55cc18f0e06b2db61bc168817
-
The arguments are assumed to be non-null anyways. Change-Id: Iff75a677a051d04919871b3d9efd22ec663cdcd2
-
Ben Boeckel authored
It's assumed to be non-null anyways, so just take a string which is done on non-Windows unconditionally anyways. Change-Id: I97219d644867287d9f5c789c3d1338a65286554f
-
Ben Boeckel authored
Using strlen is much smarter here since we don't have to allocate for it. Change-Id: I62f46039a8b5ebc5ab1535a00859a824d77dbaec
-
Ben Boeckel authored
It's faster since it doesn't have a second string to loop over. Change-Id: I8a5917ad356db38e18cc370276edb76ce3027a17
-
Ben Boeckel authored
We have them, so save the subtraction. Change-Id: Iae5a623b2f77323f6bcf701eeb5fb688f900262a
-
Ben Boeckel authored
Change-Id: I8f51197cfce502f07f427a7bb1718d9caeba8465
-
Ben Boeckel authored
If the container is empty, the loop will be a no-op anyways, so simplify the code a bit Change-Id: I641b93744ff677dd1d8f78a6ad88ea0aa284fa39
-
Ben Boeckel authored
Change-Id: I5fc21da7073177768088a7298d84632c43f70bd6
-
Ben Boeckel authored
If Relative was non-empty, the parameter is unconditionally casted into a string anyways, so save the allocation. Change-Id: I835782fa0307c0122cacf032d4937b5646561d7f
-
Ben Boeckel authored
Change-Id: I2f02cf1c150019ecef628a322824a52c86c25431
-
Ben Boeckel authored
It's weird that find had one (non-inline) overload. Make overloads for the ctor and .compile() as well so that other code can drop unnecessary .c_str() calls. Change-Id: If0da9811728892bdfd1340f51ec9b33524776958
-
Ben Boeckel authored
Rather than doing str[str.size() - 1], save pointer arithmetic and just use the .rbegin() iterator to get the last element of a container. Change-Id: Iad5cffce4da4d714f19d93273ee1193a576b8f87
-
Ben Boeckel authored
MSVC will warn about performance problems for implicit int -> bool conversions, but it also makes the code cleaner. Change-Id: Iedc5fc8ebe56e052303b990005379bed0a8ef76a
-
Ben Boeckel authored
Change-Id: Ib725299593d9fce88c73fcee2d640def5759b708
-
Ben Boeckel authored
It's not needed and just clutters the code. Change-Id: I9e69621be79b8bfebe6790edae4cdb86e8389733
-
- May 05, 2014
-
-
Brad King authored
Include execinfo.h, cxxabi.h, and dlfcn.h under the same conditions under which we use the APIs from them. Move their inclusion out of OS-specific blocks. Change-Id: I7723e530e2351d259adddd8e570036a562bade05
-
- Apr 14, 2014
-
-
Brad King authored
Declare a private _Hashtable_node<_Val>::operator= without implementation to ensure no code tries to assign nodes. The hash_map uses "pair<const _Key,_Tp>" as the value type so the const key cannot be assigned. Change-Id: If772e1588c9504df450c18eb0d36dc024db9f2da
-
- Apr 07, 2014
-
-
Change-Id: Ia74f41c2bb0dc7b164c7a2920acdedcfe17a2899
-
- Apr 05, 2014
-
-
Rolf Eike Beer authored
Change-Id: I5261ad19e3702e646576d70395625ac47adc942e
-
- Apr 02, 2014
-
-
Brad King authored
This was caught by the HP compiler warning: warning #4285-D: operator= does not have a check for the source and destination addresses being non-identical Change-Id: I074a33410402b2b872dee03df3d4006ffe32f111
-
- Apr 01, 2014
-
-
Jiri Malak authored
Enable to add extra single quote used by some Watcom tools. Change-Id: I257bafd1c09c02642e0d793caf7461454bc4b04a
-
- Mar 19, 2014
-
-
Drop the case body when neither CPU_HP_INTEL_EM_1_0 or CPU_IA64_ARCHREV_0 is defined. Change-Id: I6e3ab80c74524cb1f0e043f8f7147004142436e1
-
Add missing break statements in the QueryHPUXProcessor switch. Change-Id: I09ada6e51ca5819fedaf29545caadcb3ce5c24ca
-
- Mar 12, 2014
-
-
Change-Id: I2323e5b6ec35948f6f3ba8967369969e475f4e02
-
- Mar 11, 2014
-
-
Brad King authored
KWSys does not depend on the Apple Clang compiler id being "Clang" so set the policy to NEW explicitly to avoid the warning and get the NEW behavior. Change-Id: I884a82876ced444753a28eec1a2a26cc8c07cdef
-
- Mar 06, 2014
-
-
Brad King authored
IBM XL complains: 1500-010: (W) WARNING in test6: Infinite loop. Program may not stop. Tell it to ignore this because the test does it intentionally. Change-Id: Ic99ed35067e8ddecea289fffe20d5e119029fa0f
-
- Mar 03, 2014
-
-
The Haiku API for this was recently changed, to allow more than 8 CPU cores. Change-Id: Ia5e0d733cdfabaeffdb7707045f6635734ddac2e
-
- Feb 28, 2014
-
-
Use ISO C header <wctype.h> for towupper instead of relying on the MS-specific location of towupper in <ctype.h> Change-Id: If779418eb6752e7b059bcb9e823f64914b4fa101
-
- Feb 12, 2014
-
-
Clinton Stimpson authored
Change-Id: I4d06782730fca0fd68fb62c418b4e2d95f550625
-
- Jan 24, 2014
-
-
Hide this implementation detail by default. Change-Id: I436d76681c88459de470d5eec019acfc354d427e
-
- Jan 06, 2014
-
-
Clinton Stimpson authored
This fixes compile errors on older compilers where basic_filebuf is not available. Change-Id: If220925774b5d31b128065603cf365a7a5ec5f42
-