History

tests/util.c : Fix detection of CPU name on OSX.

Erik de Castro Lopo committed 15 years ago

Commit cd1091a1 parent da449741 file · +1 −1Browse files

Unified · Split

tests/util.c+1−1
@@ -198,7 +198,7 @@ get_cpu_name (void) · 197 unmodified lines
198198 } ;
199199
200200 while (fgets (buffer, sizeof (buffer), file) != NULL)
201− if (strstr (buffer, search) == buffer)
201+ if (strstr (buffer, search))
202202 { char *src, *dest ;
203203
204204 if ((src = strchr (buffer, ':')) != NULL)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t