diff options
author | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-05-14 17:47:05 +0000 |
---|---|---|
committer | Hans-Christoph Steiner <eighthave@users.sourceforge.net> | 2008-05-14 17:47:05 +0000 |
commit | 75abf230054a8c918ae323652f9a3cd798ee3159 (patch) | |
tree | 9b4baba2a6bc566e289a90697406cfbfc6af5427 | |
parent | ead768f0b6260ef75293286c7172798b40031913 (diff) |
ok, this time really removed all bits of add_tilde_support_toopen-0.41.4.patch
svn path=/trunk/; revision=9800
-rw-r--r-- | packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch | 16 |
1 files 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'; |