Displaying 1 result from an estimated 1 matches for "beflnstuv".
2010 Nov 20
1
[PATCH 1/2] cat cleanup ugly ifdefery
...ude <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -88,11 +75,6 @@ int main(int argc, char *argv[])
int ch;
struct flock stdout_lock;
-#ifndef __KLIBC__
- setprogname(argv[0]);
- (void)setlocale(LC_ALL, "");
-#endif
-
while ((ch = getopt(argc, argv, "beflnstuv")) != -1)
switch (ch) {
case 'b':
@@ -117,9 +99,7 @@ int main(int argc, char *argv[])
tflag = vflag = 1; /* -t implies -v */
break;
case 'u':
-#ifndef __KLIBC__
- setbuf(stdout, NULL);
-#endif
+ /* unimplemented */
break;
case 'v':
vflag...