[PD-cvs] SF.net SVN: pure-data: [9800] trunk/packages/patches/ use_FILENAME_MAX_for_file_operations-0.41.4.patch

eighthave at users.sourceforge.net eighthave at users.sourceforge.net
Wed May 14 19:47:06 CEST 2008


Revision: 9800
          http://pure-data.svn.sourceforge.net/pure-data/?rev=9800&view=rev
Author:   eighthave
Date:     2008-05-14 10:47:05 -0700 (Wed, 14 May 2008)

Log Message:
-----------
ok, this time really removed all bits of add_tilde_support_toopen-0.41.4.patch

Modified Paths:
--------------
    trunk/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch

Modified: trunk/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch
===================================================================
--- trunk/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch	2008-05-14 17:41:17 UTC (rev 9799)
+++ trunk/packages/patches/use_FILENAME_MAX_for_file_operations-0.41.4.patch	2008-05-14 17:47:05 UTC (rev 9800)
@@ -241,15 +241,7 @@
 ===================================================================
 --- 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 @@
          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 @@
              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 @@
      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'; 
  


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Pd-cvs mailing list