mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 14:43:55 +08:00
Formatting
This commit is contained in:
parent
b32fcc7a8e
commit
373cca0bf6
|
@ -1644,7 +1644,7 @@ int expand_string(const wcstring &input, std::vector<completion_t> &output, expa
|
|||
{
|
||||
wcstring next = in->at(i).completion;
|
||||
|
||||
if (! (EXPAND_SKIP_HOME_DIRECTORIES & flags))
|
||||
if (!(EXPAND_SKIP_HOME_DIRECTORIES & flags))
|
||||
expand_home_directory(next);
|
||||
|
||||
|
||||
|
|
|
@ -382,7 +382,8 @@ static int test_fork_helper(void *unused)
|
|||
for (i=0; i < 1000; i++)
|
||||
{
|
||||
//delete [](new char[4 * 1024 * 1024]);
|
||||
for (int j=0; j < 1024; j++) {
|
||||
for (int j=0; j < 1024; j++)
|
||||
{
|
||||
strerror(j);
|
||||
}
|
||||
}
|
||||
|
@ -421,8 +422,10 @@ static void test_fork(void)
|
|||
{
|
||||
/* Child */
|
||||
//new char[4 * 1024 * 1024];
|
||||
for (size_t i=0; i < 1024 * 16; i++) {
|
||||
for (int j=0; j < 256; j++) {
|
||||
for (size_t i=0; i < 1024 * 16; i++)
|
||||
{
|
||||
for (int j=0; j < 256; j++)
|
||||
{
|
||||
strerror(j);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user