Yes that would solve the problem but currently every *BSD, Linux, Solaris, etc. are identified as 'Unix'. Using an universal regex would be the best of course, but linux uses so many different devices names on different architectures that it's gonna be a nightmare.
On (2010-04-22 19:48), Andreas Färber wrote: > This seems overly complicated to me. Both the variable naming and > cross-assignment and the first-add-then-remove approach. > > I think we should either try to find one universal regex like /dev/ > tty[A-Z]*[0-9]+ or initialize the regex based on platform. Either > way we'd hopefully have one regex we could use to add to the list > and could drop the second loop. > > Platform identification could be done by recognizing a non-Windows > platform and p/invoking uname. > > Andreas > _______________________________________________ Mono-devel-list mailing list [email protected] http://lists.ximian.com/mailman/listinfo/mono-devel-list
