On Mon, 18 Nov 2002, Leonid Pauzner wrote: > 18-Nov-2002 09:08 Gisle Vanem wrote: > > * Patch for DOS to use remove() instead of calling rm.exe (userdefs.h) > > Not every user have djgpp etc. installed.
I'm rewriting this part anyway (as part of the change to make pathnames runtime-configurable). > ... > > I see no associated changes in src/LYBookmark.c in your patch, > it will not compile with djgpp otherwise. > > > -------------------------------------------------------------------------------- > > > diff -B -H -u3 -r ./orig/userdefs.h ./userdefs.h > > --- ./orig/userdefs.h Mon Nov 19 01:37:14 2001 > > +++ ./userdefs.h Mon Nov 11 17:48:30 2002 > > @@ -1454,6 +1454,10 @@ > > * #define MV_PATH "mv" > > * #define TOUCH_PATH "touch" > > */ > > +#ifdef DOSPATH > > +#undef RM_PATH /* call remove() instead (no need to have rm on path) */ > > +#endif > > + > > #endif /* HAVE_CONFIG_H */ > > > #else /* Unix */ > > > > > ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED] > -- T.E.Dickey <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
