/*
* call-seq:
* File.remove_attr(filename, attribute)
*
* Removes <i>attribute</i> from the given file
*
* File.remove_attr(".", "description")
*
*/
static VALUE rb_file_remove_attr(obj, fname, aname)
VALUE obj, fname, aname;
{
int ret;
Check_Type(fname, T_STRING);
Check_Type(aname, T_STRING);
ret = attr_remove(StringValueCStr(fname), StringValueCStr(aname), 1);
if (ret != 0)
rb_sys_fail(StringValueCStr(fname));
return 1;
}