Searched refs:inputFS (Results 1 – 2 of 2) sorted by relevance
50 static char *inputFS = NULL; /* FS at time of input, for field splitting */ variable129 strcpy(inputFS, *FS); /* for subsequent field splitting */ in savefs()134 inputFS = (char *) realloc(inputFS, len_inputFS); in savefs()135 if (inputFS == NULL) in savefs()137 memcpy(inputFS, *FS, len_inputFS); in savefs()400 if (inputFS == NULL) /* make sure we have a copy of FS */ in fldbld()402 if (!CSV && strlen(inputFS) > 1) { /* it's a regular expression */ in fldbld()403 i = refldbld(r, inputFS); in fldbld()404 } else if (!CSV && (sep = *inputFS) == ' ') { /* default whitespace */ in fldbld()457 } else if ((sep = *inputFS) == 0) { /* new: FS="" => 1 char/field */ in fldbld()[all …]
173 In fldbld(), make sure that inputFS is set before trying to516 minor fix in lib.c: increase inputFS to 100, change malloc880 after a getline var; because inputFS wasn't initialized,