Parent Directory
|
Revision Log
merge in trunk rev. 3426
| 1 | $FreeWRT$ |
| 2 | |
| 3 | submitted as http://bugs.busybox.net/view.php?id=1437 |
| 4 | |
| 5 | --- busybox-1.4.2.orig/miscutils/crontab.c Sun Mar 18 16:59:11 2007 |
| 6 | +++ busybox-1.4.2/miscutils/crontab.c Fri Jul 20 11:39:04 2007 |
| 7 | @@ -297,6 +297,8 @@ static void EditFile(const char *user, c |
| 8 | exit(0); |
| 9 | ptr = getenv("VISUAL"); |
| 10 | if (ptr == NULL || strlen(ptr) > 256) |
| 11 | + ptr = getenv("EDITOR"); |
| 12 | + if (ptr == NULL || strlen(ptr) > 256) |
| 13 | ptr = PATH_VI; |
| 14 | |
| 15 | snprintf(visual, sizeof(visual), "%s %s", ptr, file); |
| root@freewrt.org:443 | ViewVC Help |
| Powered by ViewVC 1.1.20 |