一个怪异的问题
今天下了Linux最新版的內(nèi)核(3.8.2),打算在Windows下用Source Insight新建一個(gè)工程。
可沒想到的是用Winrar解壓到一半,突然報(bào)錯(cuò):
無法創(chuàng)建 linux-3.8.2\drivers\gpu\drm\nouveau\core\subdev\i2c\aux.c
我了個(gè)去,以前可從來沒有碰到過這種操蛋的問題啊。
莫非是下載的時(shí)候沒有下完全?
于是乎重新又下載了一遍,再試,問題依舊...
莫非是這個(gè)壓縮文件本身就有問題?
不會(huì)啊,我可是官方下載的呀!
好吧,下一個(gè)其他版本的試試。
于是乎重新又下載了一遍其他版本,再試,問題依舊...
這個(gè)時(shí)候我該怎么辦呢?
地球人都知道 -- Google (not BaiXx)
查了半天,終于在stackoverflow上找到了答案!
The answer should be:we can't create a file named aux.c in windows!
See http://msdn.microsoft.com/en-us/library/windows/desktop/aa365247%28v=vs.85%29.aspx
Do not use the following reserved device names for the name of a file: CON, PRN, AUX, NUL,
COM1, COM2, COM3, COM4, COM5, COM6, COM7, COM8, COM9, LPT1, LPT2, LPT3, LPT4, LPT5, LPT6,
LPT7, LPT8, and LPT9.
Also avoid these names followed immediately by an extension;
for example, NUL.txt is not recommended. For more information, see Namespaces.
我了個(gè)去!
Windows下面居然不能創(chuàng)建這么多默認(rèn)名字的文件。
好吧,試一下,新建一個(gè)文件,命名"aux.c"。
果然不讓我改!
好吧,結(jié)論是:我又一次被Windows打敗了。
轉(zhuǎn)載于:https://www.cnblogs.com/LeeX-cgg/archive/2013/03/14/2958620.html
總結(jié)
- 上一篇: C#用IrisSkin4.dll 美化W
- 下一篇: POJ-1260 Pearls DP