+ in the interest of robustness, I added

utility.c :: cstring_alloc()
  utility.c :: cstring_lineFromFile()	/* they're at the bottom */
  so that I could read in lines of arbitrary length from FILE*s
  (instead of using fgets(huge_ass_buffer,...)).
+ I tested it out on sort, and it seems to be fine.
This commit is contained in:
John Beppu
2000-04-17 04:22:09 +00:00
parent 3becdfc316
commit 5a728cfdfe
4 changed files with 65 additions and 52 deletions

View File

@@ -219,6 +219,8 @@ extern long getNum (const char *cp);
extern pid_t* findPidByName( char* pidName);
extern void *xmalloc (size_t size);
extern int find_real_root_device_name(char* name);
extern char *cstring_lineFromFile(FILE *f);
#if defined BB_INIT || defined BB_SYSLOGD
extern int device_open(char *device, int mode);