I'm reporting a bug about file
Hi folks,
Here, I'm reporting a bug, maybe it is solved upstream, but it's already on Fedora 16. Below shows the bug,
It appears when testing https://github.com/linux-test-project/ltp/blob/master/testcases/commands/ade/file/file_test.sh#L292
the file command can't recognize below file as a "C program" file but just a ASSCII text.
Quoted 9 lines
cat >
$LTPTMP/cprog.c<<EOF
#include <stdio.h>
main()
{printf("Hello Hell\n");
exit(0);
}
EOF
But when I add a line like "#include <stdlib.h>", it can recognize to a "C program" file, this problem doesn't appear on RHEL6 but appears recently.
And just test use the files under the source of "file" command like,
Quoted 2 lines
$ file src/file.c src/file.c: ASCII English text
Do you think this is a bug, or I missed something?
Can you file command guys give me some idea about this?
Thanks in advance,
Wanlong Gao
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Resend! The file command mail list kicked my mail out since I'm not in the list. Now, I'm in.
Quoted 36 lines
Hi folks,
Here, I'm reporting a bug, maybe it is solved upstream, but it's already on Fedora 16. Below shows the bug,
It appears when testing https://github.com/linux-test-project/ltp/blob/master/testcases/commands/ade/file/file_test.sh#L292
the file command can't recognize below file as a "C program" file but just a ASSCII text.
Quoted 9 lines
cat >
$LTPTMP/cprog.c<<EOF
#include <stdio.h>
main()
{printf("Hello Hell\n");
exit(0);
}
EOFBut when I add a line like "#include <
stdlib.h>", it can recognize to a "C program" file, this problem doesn't appear on RHEL6 but appears recently.And just test use the files under the source of "file" command like,
Quoted 2 lines
$ file src/file.c src/file.c: ASCII English text
Quoted 8 lines
Do you think this is a bug, or I missed something?
Can you file command guys give me some idea about this?
Thanks in advance,
Wanlong Gao
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 9 lines
Resend! The file command mail list kicked my mail out since I'm not in the list.
Now, I'm in.Quoted 4 lines
Hi folks,
Here, I'm reporting a bug, maybe it is solved upstream, but it's already on Fedora 16. Below shows the bug,
hi, Wanlong
I checked the issue one weeks ago, downloaded different version from ftp://ftp.astron.com/pub/file/, then I found the issue just occurred in 5.07, 5.08, 5.09, 5.10 upstream version, and fixed
in 5.11, and I'm sure fedora 17 Beta(file version is 5.10) have fixed the issue.
--
Thanks,
Zhouping
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
Quoted 10 lines · Zhouping Liu
Quoted 9 lines
Resend! The file command mail list kicked my mail out since I'm not in the list.
Now, I'm in.Quoted 4 lines
Hi folks,
Here, I'm reporting a bug, maybe it is solved upstream, but it's already on Fedora 16. Below shows the bug,
Quoted 6 lines
hi, Wanlong
I checked the issue one weeks ago, downloaded different version from ftp://ftp.astron.com/pub/file/, then I found the issue just occurred in 5.07, 5.08, 5.09, 5.10 upstream version, and fixed
in 5.11, and I'm sure fedora 17 Beta(file version is 5.10) have fixed the issue.
OK, nice, thanks a lot Zhouping.
Regards,
Wanlong Gao
Quoted 5 lines
--
Thanks,
Zhouping
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list
On Apr 26, 11:52am, [email protected] (Wanlong Gao) wrote:
-- Subject: [BUG] I'm reporting a bug about file
| Do you think this is a bug, or I missed something?
Bug.
| Can you file command guys give me some idea about this?
Mine says (5.11):
t.c: C source, ASCII text
christos
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list