4776c4d03b50533d3e6bb13374baf55c0a28e183
galt
  Fri Jan 25 17:07:08 2013 -0800
Revert "Add ability to tolerate paths in .2bit filename with gfServer. Paths are removed leaving only the filename. Clients are on other machines and therefore cannnot use them in general."
This reverts commit ef98cc65cd9626157087f5ad3dd6eac5012c50d8.

Turns out that on some rare cases the relative paths were useful.
Instead will add a message to gfServer explaining better how the
paths in the filenames given will be used.

diff --git src/inc/common.h src/inc/common.h
index 56a3ede..cd16de6 100644
--- src/inc/common.h
+++ src/inc/common.h
@@ -1037,33 +1037,30 @@
 /* Remove suffix (last . in string and beyond) if any. */
 
 void chopSuffixAt(char *s, char c);
 /* Remove end of string from last occurrence of char c.
  * chopSuffixAt(s, '.') is equivalent to regular chopSuffix. */
 
 char *chopPrefix(char *s);
 /* This will replace the first '.' in a string with
  * 0, and return the character after this.  If there
  * is no '.' in the string this will just return the
  * unchanged s passed in. */
 
 char *chopPrefixAt(char *s, char c);
 /* Like chopPrefix, but can chop on any character, not just '.' */
 
-char *getFileNameOnly(char *path);
-/* Returns pointer to file name part of path beyond last slash / in the path.  Do not free. */
-
 FILE *mustOpen(char *fileName, char *mode);
 /* Open a file - or squawk and die. */
 
 void mustWrite(FILE *file, void *buf, size_t size);
 /* Write to file or squawk and die. */
 
 #define writeOne(file, var) mustWrite((file), &(var), sizeof(var))
 /* Write out one variable to file. */
 
 void mustRead(FILE *file, void *buf, size_t size);
 /* Read size bytes from a file or squawk and die. */
 
 #define mustReadOne(file, var) mustRead((file), &(var), sizeof(var))
 /* Read one variable from file or die. */