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
198 } ;198 } ;
199 199
200 while (fgets (buffer, sizeof (buffer), file) != NULL)200 while (fgets (buffer, sizeof (buffer), file) != NULL)
201 if (strstr (buffer, search) == buffer)201 if (strstr (buffer, search))
202 { char *src, *dest ;202 { char *src, *dest ;
203 203
204 if ((src = strchr (buffer, ':')) != NULL)204 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