comparison src/event-msw.c @ 531:0493e9f3c27f

[xemacs-hg @ 2001-05-12 11:16:12 by ben] event-msw.c: eliminate cygwin warnings. dired.c, syswindows.h, win32.c: find the Net* functions the hard way to avoid errors on win 9x. find-paths.el: fix error with null EXCLUDE-REGEXP. font-lock.el: fix problem reported by hrvoje with buffers starting with a space. lib-complete.el: add a variable to control where `find-library' looks, analogous to `find-function-source-path'. etags.c: new version from Francesco. Makefile.in.in: i'm getting real tired of incomplete commits. is this getting worse or something?
author ben
date Sat, 12 May 2001 11:16:25 +0000
parents 7039e6323819
children a0266879cecf
comparison
equal deleted inserted replaced
530:c948643d954f 531:0493e9f3c27f
1671 end++; 1671 end++;
1672 if (*end) 1672 if (*end)
1673 return DDE_FNOTPROCESSED; 1673 return DDE_FNOTPROCESSED;
1674 1674
1675 #ifdef CYGWIN 1675 #ifdef CYGWIN
1676 filename = alloca (cygwin32_win32_to_posix_path_list_buf_size (cmd) + 5); 1676 filename = alloca (cygwin_win32_to_posix_path_list_buf_size (cmd) + 5);
1677 strcpy (filename, "file:"); 1677 strcpy (filename, "file:");
1678 cygwin32_win32_to_posix_path_list (cmd, filename+5); 1678 cygwin_win32_to_posix_path_list (cmd, filename+5);
1679 #else 1679 #else
1680 dostounix_filename (cmd); 1680 dostounix_filename (cmd);
1681 filename = alloca (strlen (cmd)+6); 1681 filename = alloca (strlen (cmd)+6);
1682 strcpy (filename, "file:"); 1682 strcpy (filename, "file:");
1683 strcat (filename, cmd); 1683 strcat (filename, cmd);
2981 } 2981 }
2982 } 2982 }
2983 #endif 2983 #endif
2984 2984
2985 #ifdef CYGWIN 2985 #ifdef CYGWIN
2986 filename = xmalloc (cygwin32_win32_to_posix_path_list_buf_size (fname) + 5); 2986 filename = xmalloc (cygwin_win32_to_posix_path_list_buf_size (fname) + 5);
2987 strcpy (filename, "file:"); 2987 strcpy (filename, "file:");
2988 cygwin32_win32_to_posix_path_list (fname, filename+5); 2988 cygwin_win32_to_posix_path_list (fname, filename+5);
2989 #else 2989 #else
2990 filename = (char *)xmalloc (len+6); 2990 filename = (char *)xmalloc (len+6);
2991 strcat (strcpy (filename, "file:"), fname); 2991 strcat (strcpy (filename, "file:"), fname);
2992 dostounix_filename (filename+5); 2992 dostounix_filename (filename+5);
2993 #endif 2993 #endif