2008-04-22 16:13:24 |
Michael Heča |
bug |
|
|
added bug |
2008-04-22 17:22:33 |
Michael Heča |
bug |
|
|
added attachment 'cifs-strace.txt' (strace -o cifs-strace.txt bash -c '[ -f ./makefile ]') |
2008-04-22 18:04:36 |
Mika Fischer |
description |
Binary package hint: bash-completion
When pressing tab key after "make ", in directory where is file Makefile, message "grep: ./makefile: No such file or directory" is shown.
It's like bash do case insensitive compare in file /etc/bash_completion in next section:
# make reads `GNUmakefile', then `makefile', then `Makefile'
if [ -f ${makef_dir}/GNUmakefile ]; then
makef=${makef_dir}/GNUmakefile
elif [ -f ${makef_dir}/makefile ]; then
makef=${makef_dir}/makefile
elif [ -f ${makef_dir}/Makefile ]; then
makef=${makef_dir}/Makefile
else
makef=${makef_dir}/*.mk # local convention
fi
After update from 7.10 to 8.04 LTS. In version 7.10 is completion ok. |
The reporter has the problem with a CIFS mount that [ -f file ] returns 0 even if the file does NOT exist. The attached starce shows:
stat64("./makefile", {st_mode=S_IFREG|0764, st_size=1386, ...}) = 0
This is clearly boken, since a subsequent open on the file fails...
-----
Original description follows:
Binary package hint: bash-completion
When pressing tab key after "make ", in directory where is file Makefile, message "grep: ./makefile: No such file or directory" is shown.
It's like bash do case insensitive compare in file /etc/bash_completion in next section:
# make reads `GNUmakefile', then `makefile', then `Makefile'
if [ -f ${makef_dir}/GNUmakefile ]; then
makef=${makef_dir}/GNUmakefile
elif [ -f ${makef_dir}/makefile ]; then
makef=${makef_dir}/makefile
elif [ -f ${makef_dir}/Makefile ]; then
makef=${makef_dir}/Makefile
else
makef=${makef_dir}/*.mk # local convention
fi
After update from 7.10 to 8.04 LTS. In version 7.10 is completion ok. |
|
2008-04-22 18:04:36 |
Mika Fischer |
title |
error in completion from Makefile |
stat broken for CIFS filesystem |
|
2008-04-22 18:05:49 |
Mika Fischer |
bash-completion: assignee |
|
ubuntu-kernel-team |
|
2008-04-23 08:17:43 |
Michael Heča |
bug |
|
|
added attachment 'uname-a.log' (uname-a.log) |
2008-04-23 08:18:59 |
Michael Heča |
bug |
|
|
added attachment 'version.log' (version.log) |
2008-04-23 08:19:34 |
Michael Heča |
bug |
|
|
added attachment 'dmesg.log' (dmesg.log) |
2008-04-23 08:20:06 |
Michael Heča |
bug |
|
|
added attachment 'lspci-vvnn.log' (lspci-vvnn.log) |
2008-04-23 08:20:32 |
Michael Heča |
bug |
|
|
added attachment 'fstab.txt' (fstab.txt) |
2008-08-29 03:42:26 |
Leann Ogasawara |
bug |
|
|
added subscriber Leann Ogasawara |
2008-12-14 23:48:03 |
Daniel T Chen |
linux: status |
New |
Confirmed |
|
2008-12-21 18:49:44 |
Leann Ogasawara |
linux: status |
Confirmed |
Triaged |
|
2008-12-21 18:49:44 |
Leann Ogasawara |
linux: importance |
Undecided |
Medium |
|
2009-01-05 23:26:45 |
Jim Lieb |
linux: status |
Triaged |
In Progress |
|
2009-01-05 23:26:45 |
Jim Lieb |
linux: assignee |
|
lieb |
|
2009-01-08 03:25:56 |
Tim Gardner |
linux: status |
In Progress |
Fix Committed |
|
2009-01-08 03:25:56 |
Tim Gardner |
linux: statusexplanation |
|
Configs enabled for Jaunty. Intrepid is still under discussion.
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-jaunty.git;a=commit;h=b5fb8d9dad229c2bb352c0134a84e4c82ef0885f |
|
2009-01-12 19:25:23 |
Launchpad Janitor |
linux: status |
Fix Committed |
Fix Released |
|