From 1af5b082ababd44cec06fbece63c49b0ecd749db Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Tue, 11 Jul 2000 21:18:44 +0000 Subject: [PATCH] Removed guesstabsize.c, which is obsolete. --- Mac/Build/PythonCorePPC.prj | Bin 117060 -> 117060 bytes Mac/Python/macguesstabsize.c | 63 ----------------------------------- 2 files changed, 63 deletions(-) delete mode 100644 Mac/Python/macguesstabsize.c diff --git a/Mac/Build/PythonCorePPC.prj b/Mac/Build/PythonCorePPC.prj index 99152a5fce02f635516e53a1119b44c293c41ace..260982d1f775c55458c70ec78784fb22bd050cfa 100644 GIT binary patch delta 404 zcmX>yiT%hV_6-*l1g9}DFsx<-5V|>fC{Z#!VtdOz##M}L b4v!cZm;$z&9AFe;V{={w=J*_A{J{hO3qyaL delta 421 zcmX>yiT%hV_6-*l1gA4FFsx<-5Si6qzs&5N)d36)vQIV}s5VM5 z25(+x&%ro(mxIRUG&^rbFrS5Svyt;|#?8``co{eUa?Q75?<{a;Ur66 zoHp5}V>9EF%^x~qG#Gg%`);%c+SF=RqX74I15U -#include -#include -#include - -#include - -/* Interface used by parsetok.c */ -#error -guesstabsize(path) - char *path; -{ - Str255 s; - int refnum; - Handle h; - int tabsize = 0; - - /* Very simple case: stdin (pathname empty) */ - if ( path[0] == '\0' || strcmp(path, "") == 0 ) return 0; - s[0] = strlen(path); - memcpy(s+1, path, s[0]); - refnum = OpenResFile(s); - if (refnum == -1) - return 0; - UseResFile(refnum); - h = GetIndResource('ETAB', 1); - if (h != 0) { - tabsize = (*(short**)h)[1]; - } - CloseResFile(refnum); - return tabsize; -}