cvs commit: src/usr.sbin/sysinstall config.c

Stefan Farfeleder stefanf at FreeBSD.org
Mon Nov 1 09:07:57 PST 2004


On Mon, Nov 01, 2004 at 04:32:10PM +0000, David E. O'Brien wrote:
> obrien      2004-11-01 16:32:10 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     usr.sbin/sysinstall  config.c 
>   Log:
>   fix typo in generated /etc/exports: escape all '

> -	    vsystem("echo '# Note that BSD's export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");
> +	    vsystem("echo '# Note that BSD\'s export syntax is \"host-centric\" vs. Sun\'s \"FS-centric\" one.' >> /etc/exports");

You need two backslashes here; \' is equivalent to ' inside string literals.

Stefan


More information about the cvs-src mailing list