Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
#include <u.h>
2
#include <libc.h>
3
 
4
int
5
needsrcquote(int c)
6
{
7
	if(c <= ' ')
8
		return 1;
9
	if(utfrune("`^#*[]=|\\?${}()'<>&;", c))
10
		return 1;
11
	return 0;
12
}