File tree Expand file tree Collapse file tree 2 files changed +1
-5
lines changed
Expand file tree Collapse file tree 2 files changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,6 @@ void ffDetectOSImpl(FFOSResult* os)
1212
1313 // OpenIndiana Hipster 2024.04
1414 uint32_t idx = ffStrbufFirstIndexC (& os -> prettyName , ' ' );
15- ffStrbufSetNS (& os -> name , idx , os -> prettyName .chars );
16- uint32_t idx2 = ffStrbufNextIndexC (& os -> prettyName , idx + 1 , ' ' );
17- ffStrbufSetNS (& os -> codename , idx2 - idx - 1 , os -> prettyName .chars + idx + 1 );
18- ffStrbufSetNS (& os -> version , idx2 - idx - 1 , os -> prettyName .chars + idx2 + 1 );
15+ ffStrbufSetNS (& os -> id , idx , os -> prettyName .chars );
1916 ffStrbufSetStatic (& os -> idLike , "sunos" );
2017}
Original file line number Diff line number Diff line change 1111
1212static void buildOutputDefault (const FFOSResult * os , FFstrbuf * result )
1313{
14- // asm ("int3");
1514 //Create the basic output
1615 if (os -> name .length > 0 )
1716 ffStrbufAppend (result , & os -> name );
You can’t perform that action at this time.
0 commit comments