From 75abf230054a8c918ae323652f9a3cd798ee3159 Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 14 May 2008 17:47:05 +0000 Subject: ok, this time really removed all bits of add_tilde_support_toopen-0.41.4.patch svn path=/trunk/; revision=9800 --- .../use_FILENAME_MAX_for_file_operations-0.41.4.patch | 16 ++++------------ 1 file changed, 4 insertions(+), 12 deletions(-) diff --git a/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch b/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch index 3901a906..fe6c2f0b 100644 --- a/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch +++ b/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch @@ -241,15 +241,7 @@ Index: s_path.c =================================================================== --- s_path.c (revision 9725) +++ s_path.c (working copy) -@@ -250,16 +280,16 @@ - int sys_open_absolute(const char *name, const char* ext, - char *dirresult, char **nameresult, unsigned int size, int bin, int *fdp) - { -- if (name[0] == '/' -+ if (name[0] == '/' || name[0] == '~' - #ifdef MSW -- || (name[1] == ':' && name[2] == '/') -+ || name[0] == '%' || (name[1] == ':' && name[2] == '/') +@@ -256,10 +256,10 @@ #endif ) { @@ -263,7 +255,7 @@ Index: s_path.c strncpy(dirbuf, name, dirlen); dirbuf[dirlen] = 0; *fdp = sys_trytoopenone(dirbuf, name+(dirlen+1), ext, -@@ -326,32 +356,32 @@ +@@ -326,32 +326,32 @@ search attempts. */ void open_via_helppath(const char *name, const char *dir) { @@ -304,7 +296,7 @@ Index: s_path.c goto gotone; post("sorry, couldn't find help patch for \"%s\"", name); return; -@@ -379,7 +409,7 @@ +@@ -379,7 +379,7 @@ int rcargc; char* rcargv[NUMARGS]; char* buffer; @@ -313,7 +305,7 @@ Index: s_path.c int retval = 1; /* that's what we will return at the end; for now, let's think it'll be an error */ /* initialize rc-arg-array so we can safely clean up at the end */ -@@ -391,7 +421,7 @@ +@@ -391,7 +391,7 @@ *fname = '\0'; -- cgit v1.2.1