root/trunk/freewrt/package/busybox/patches/980-crontab-use-editor.patch
| Revision 3296, 487 bytes (checked in by tg, 5 years ago) |
|---|
-
busybox-1.4.2/miscutils/crontab.c
old new 297 297 exit(0); 298 298 ptr = getenv("VISUAL"); 299 299 if (ptr == NULL || strlen(ptr) > 256) 300 ptr = getenv("EDITOR"); 301 if (ptr == NULL || strlen(ptr) > 256) 300 302 ptr = PATH_VI; 301 303 302 304 snprintf(visual, sizeof(visual), "%s %s", ptr, file);
Note: See TracBrowser for help on using the browser.


