| 1 | http://bugs.gentoo.org/149426 |
| 2 | |
| 3 | keep from blowing up when people have duplicate aliases ... the grep |
| 4 | ends up including new lines and with certain formed comments, hits an |
| 5 | infinite loop ... |
| 6 | |
| 7 | for example, the following inputs illustrates the problem: |
| 8 | ---------------------------------------------- |
| 9 | # Old nvidia support ... |
| 10 | alias char-major-195 NVdriver |
| 11 | alias /dev/nvidiactl char-major-195 |
| 12 | alias char-major-195 nvidia |
| 13 | alias /dev/nvidiactl char-major-195 |
| 14 | # To enable Side Band Adressing: NVreg_EnableAGPSBA=1 |
| 15 | #options nvidia NVreg_EnableAGPSBA=1 NVreg_EnableAGPFW=1 |
| 16 | #options nvidia NVreg_SoftEDIDs=0 NVreg_Mobile=3 |
| 17 | ---------------------------------------------- |
| 18 | alias a b |
| 19 | alias b a |
| 20 | ---------------------------------------------- |
| 21 | |
| 22 |