small tricks for Carbon Framework on Mac OS X.
Minor improvement based on looking at some Apache dlopen() How-To document

This addition does not do anything since it's behind a dnl comment for now,
but better to include now ("to be seen"=FIXME) before it's forgotten later.
Minor simplification requested by Ben to reduce the clutter in this loop.
Used Werner LEMBERG <wl@gnu.org> advice to update FF License to include GPL

Follow thread on mailing list titled: [Fontforge-devel] Should FontForge
become GPL as a whole, with all existing BSD code remaining BSD?

If Fontforge is to include files, plugins and more, it appears to need the
license improved to include and recognize GPL with the existing BSD license
if it is to be improved further in future.

Re-read sourceforge mailing list thread and used Dave Crossland's draft,
plus added input from Werner LEMBERG based on using GROFF's LICENSE file as
a template to build this license. This license may need more editing before
it's finally accepted.
Simplify FindXRef() and add error-check to fseek()

Easier to read, no forever macro, less code, and an extra error-check.
Check for any file read errors. Make PSDictClear() free memory safely.

Change from just checking for EOF and now for any file read errors.
Make sure it's not null before free() allocated memory.
Make pdf_peekch() more robust with possible file-read errors.

If any error encountered, then there's no point in trying to roll back.
Ruggedize hex() in files parsepdf.c and parsepfa.c

Verify input chars are actually {0...F} hex values, else return -1 on err.
Make findkeyword() safer to run

Using buffer[i] = ch = getc(pdf) could possibly have an error if the value
is larger than 255 or less than 0, therefore separated the instruction in
case of file error. Ensured keyword and end are smaller than buffer[]. Test
and exit for 'any' file errors, not just EOF. Remove forever. Add comments.
Check for various file errors and exit sooner from getuvalue()

EOF isn't the only file error that could cause problems, so, exit on more.
Add some commenting.
Make findkeyword() more robust to possible errors. Change values to long.

Plenty of checks for file errors. More comments. Change internal and return
values from int to long. ftell() also returns a long value.
More long on seektrailer(). Prior changes also affected FindObjects()

Some fixes to make FindObjects() exit on file errors. Some values are long.
Fix long and int errors within FindObjectsFromXREFObject()

Converted values to use long where they should be long instead of int.
Routine checks for more possible errors. Added more comments. Used realloc
so that program exits gracefully
A few fixes and error checks done to FindObjectsFromXREFObject()
This routine is called by the prior routine and can use some similar fixes.
Close files and memory if error occurred on FindObjectsFromXREFObject()

More error checks. Clean-up before exiting function. Missed the grealloc().
Make pcFree() segfault safe by testing before freeing memory. Add comment.
Make NamesReadPDF() cleanup after itself if errors found.
don't change the hvcurve point type
Converted pdf_skipwhitespace() to return pass/fail if EOF or file-error

If everything goes okay, pdf_skipwhitespace() returns 0, else if there is a
file error or EOF encountered, then return -1 and do not unget() last char.
Use normal realloc() for routine pdf_getname() to exit without trapping

Removed existing grealloc() and used a normal realloc() to exit with NULL.