jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: jed-0.99-18 + slang-2.1.2 = Run-Time Error


Hello Robert and John,

Robert Riebisch <rr@xxxxxxxxxxxxxxxx> wrote:
> diff -Nurd jed-orig/src/main.c jed/src/main.c
> --- jed-orig/src/main.c	2006-12-16 17:59:16 +0100
> +++ jed/src/main.c	2007-09-21 21:25:44 +0200
> @@ -139,6 +139,30 @@
>  }
>  #endif
>   
> +#ifdef __DJGPP__
> +# include <crt0.h>
> +int _crt0_startup_flags = _CRT0_FLAG_USE_DOS_SLASHES;
> +
> +static char *get_dos_root(char *pgm)

Why this and get_win32_root() are functions? Why not put it directly in
set_jed_root()? Then you don't need such things like static local
variables and don't have this code duplication.

Bye, Jörg.
-- 
Viele Leute glauben, dass sie denken, wenn sie lediglich
ihre Vorurteile neu ordnen.

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]