view nt/ad2c.sed @ 4404:80e07b006f9c

Prevent access to uninitialized variables in x_init_device. 2008-01-18 Jerry James <james@xemacs.org> * device-x.c (x_init_device): Don't write to path or read from format when neither has been initialized.
author Jerry James <james@xemacs.org>
date Fri, 18 Jan 2008 16:12:31 -0700
parents 4be1180a9e89
children
line wrap: on
line source

/^!/d
/^$/d
s/\\/\\\\/g
s/\\$//g
s/"/\\"/g
s/^/(String) "/
: test
/\\$/b slash
s/$/",/
p
d
: slash
n
/^!/d
/^$/d
s/"/\\"/g
s/\\\\/\\/g
s/\\n/\\\\n/g
s/\\t/\\\\t/g
s/\\f/\\\\f/g
s/\\b/\\\\b/g
b test