Rev 3064 | Rev 3097 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 3064 | Rev 3096 | ||
|---|---|---|---|
| Line 61... | Line 61... | ||
| 61 | { |
61 | { |
| 62 | size_t i; |
62 | size_t i; |
| 63 | char *data; |
63 | char *data; |
| 64 | int rc; |
64 | int rc; |
| 65 | 65 | ||
| - | 66 | if (count == 0) |
|
| - | 67 | return 0; |
|
| - | 68 | ||
| 66 | if (count > PAGE_SIZE) |
69 | if (count > PAGE_SIZE) |
| 67 | return ELIMIT; |
70 | return ELIMIT; |
| 68 | 71 | ||
| 69 | data = (char *) malloc(count, 0); |
72 | data = (char *) malloc(count, 0); |
| 70 | if (!data) |
73 | if (!data) |