[Lazarus] gtk2 application segfaulting at startup

Brad Campbell brad at wasp.net.au
Mon Jan 4 03:55:29 CET 2010


On Sat, Jan 02, 2010 at 08:39:55PM +0000, David W Noon wrote:
> > Not on the system I maintain. :-)  But in general I think you are
> > right, though I don't know why. Mac and Windows OS's prove it is very
> > successful and doable.
> 
> I think that usage of the command line for creating directories is the
> reason.  To create a directory with one or more spaces in its name
> requires that the space(s) be escaped with a backslash or the name be
> enclosed in either apostrophes or quotes,  However, the possibility
> should always be catered for.

Exactly. Even if I create dirs myself on windows, I still never put spaces
in them.
 
> The upshot is that I always wrap environment variables in quotes (not
> apostrophes!) if they represent path/file names in scripts.  It is
> simply "best practice" in a modern context.

The install.sh script is mostly last century.




More information about the Lazarus mailing list