Messages in this thread |  | | Date | Tue, 6 Aug 1996 00:40:00 +0200 | From | Yves Arrouye <> | Subject | Re: Linux-2.0.11 |
| |
> With more users comes more problem reports, and it takes a while to fix > them. I'm not making excuses, quite the reverse: I urge you all to update > your kernels so that we _can_ get the problems fixed. Send in problem > reports, and we'll slowly get a kernel that hopefully works for everybody.
I'm sending again my patch correcting the fact that trailing spaces in command-line/env disappear, for example if you did
% some-cmd '/tmp/strange file '
I sent it before 2.0.9 and did not even know if someone read it/found it correct.
Yves.
P.S.: I'm unsubscribing linux-kernel because I can't stand its traffic at the moment, but I'd appreciate an anwer to my home address. Thanks.
*** array.c.orig Fri Jul 26 00:50:21 1996 --- array.c Fri Jul 26 00:49:25 1996 *************** *** 25,30 **** --- 25,33 ---- * * Bruno Haible : remove 4K limit for the maps file * <haible@ma2s2.mathematik.uni-karlsruhe.de> + * + * Yves Arrouye : remove removal of trailing spaces in get_array. + * <Yves.Arrouye@marin.fdn.fr> */ #include <linux/types.h> *************** *** 370,376 **** for (;;) { addr = get_phys_addr(*p, start); if (!addr) ! goto ready; do { c = *(char *) addr; if (!c) --- 373,379 ---- for (;;) { addr = get_phys_addr(*p, start); if (!addr) ! return result; do { c = *(char *) addr; if (!c) *************** *** 378,394 **** if (size < PAGE_SIZE) buffer[size++] = c; else ! goto ready; addr++; start++; if (!c && start >= end) ! goto ready; } while (addr & ~PAGE_MASK); } - ready: - /* remove the trailing blanks, used to fill out argv,envp space */ - while (result>0 && buffer[result-1]==' ') - result--; return result; } --- 381,393 ---- if (size < PAGE_SIZE) buffer[size++] = c; else ! return result; addr++; start++; if (!c && start >= end) ! return result; } while (addr & ~PAGE_MASK); } return result; } *************** *** 1210,1213 **** NULL, /* bmap */ NULL, /* truncate */ NULL /* permission */ ! }; \ No newline at end of file --- 1209,1212 ---- NULL, /* bmap */ NULL, /* truncate */ NULL /* permission */ ! };
|  |