Adiciona compatibilidade com o mac#3
Open
victoralcan wants to merge 2 commits into
Open
Conversation
alfoltran
requested changes
Mar 12, 2026
|
|
||
| convert_all_xls() { | ||
| for file in $(git diff --name-status --staged | grep '^A' | grep -Po '[^\t]*$' | grep '.xls'); do | ||
| for file in $(git diff --name-status --staged | grep '^A' | awk '{print $NF}' | grep '.xls'); do |
Member
There was a problem hiding this comment.
Suggested change
| for file in $(git diff --name-status --staged | grep '^A' | awk '{print $NF}' | grep '.xls'); do | |
| for file in $(git diff --name-status --staged | grep '^A' | grep -o '\S*$' | grep '.xls'); do |
| done | ||
|
|
||
| for file in $(git diff --name-status --staged | grep '^M' | grep -Po '[^\t]*$' | grep '.xls'); do | ||
| for file in $(git diff --name-status --staged | grep '^M' | awk '{print $NF}' | grep '.xls'); do |
Member
There was a problem hiding this comment.
Suggested change
| for file in $(git diff --name-status --staged | grep '^M' | awk '{print $NF}' | grep '.xls'); do | |
| for file in $(git diff --name-status --staged | grep '^M' | grep -o '\S*$' | grep '.xls'); do |
| done | ||
|
|
||
| for file in $(git diff --name-status --staged | grep '^D' | grep -Po '[^\t]*$' | grep '.xls'); do | ||
| for file in $(git diff --name-status --staged | grep '^D' | awk '{print $NF}' | grep '.xls'); do |
Member
There was a problem hiding this comment.
Suggested change
| for file in $(git diff --name-status --staged | grep '^D' | awk '{print $NF}' | grep '.xls'); do | |
| for file in $(git diff --name-status --staged | grep '^D' | grep -o '\S*$' | grep '.xls'); do |
| //#if #system(bsd) | ||
| || i->si_code == SEGV_MAPERR | ||
| #endif | ||
| || i->si_code == SEGV_MAPERR /* macOS, OpenBSD and others */ |
Member
There was a problem hiding this comment.
Não fazer isso!!! Coloque o identificador do MAC aqui também.
| } | ||
|
|
||
| #ifdef SIGBUS | ||
| /* macOS raises SIGBUS instead of SIGSEGV on some memory access faults */ |
Member
There was a problem hiding this comment.
Não comentar sobre MAC. SImplesmente comente que pode haver este sinal caso esteja definido.
| found: | ||
| if (um->handler(um, (char *) um->addr + (o & -um_page_sz)) >= 0) | ||
| if (um->handler(um, (char *) um->addr + (o & -um_page_sz)) >= 0) { | ||
| /* Re-arm both SIGSEGV and SIGBUS (macOS may raise either) */ |
Member
There was a problem hiding this comment.
Não comentar sobre MAC. SImplesmente comente que pode haver este sinal caso esteja definido.
Comment on lines
+8
to
+9
| # On macOS, libm is part of libSystem and does not need explicit linking | ||
| if(NOT APPLE) |
Member
There was a problem hiding this comment.
Suggested change
| # On macOS, libm is part of libSystem and does not need explicit linking | |
| if(NOT APPLE) | |
| # On macOS, libm is part of libSystem and does not need explicit linking | |
| if (NOT APPLE) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.