diff options
author | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2013-05-31 17:16:44 -0600 |
commit | a46157ba61f2c65f88b42abb31db60c4a714f87b (patch) | |
tree | e37bc41ad2f57b3fd2bad310576cc155a58ca6b7 /pico/blddate.c | |
parent | 81e994d7907f850506ddc248f84761a54995e58c (diff) | |
download | alpine-a46157ba61f2c65f88b42abb31db60c4a714f87b.tar.xz |
* somehow all.patch got here. Reversing.
Diffstat (limited to 'pico/blddate.c')
-rw-r--r-- | pico/blddate.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/pico/blddate.c b/pico/blddate.c index 5797c3c5..00f0b558 100644 --- a/pico/blddate.c +++ b/pico/blddate.c @@ -19,7 +19,7 @@ main(argc, argv) char **argv; { struct tm *t; - FILE *outfile=stdout, *infile; + FILE *outfile=stdout; time_t ltime; if(argc > 1 && (outfile = fopen(argv[1], "w")) == NULL){ @@ -46,12 +46,6 @@ main(argc, argv) 1900 + t->tm_year); fprintf(outfile, "char hoststamp[]=\"random-pc\";\n"); - if((infile = fopen("../patchlevel", "r")) != NULL){ - int c; - while ((c = getc(infile)) != EOF) putc(c, outfile); - fclose(infile); - } - else fprintf(outfile, "char plevstamp[]=\"No information available\";\n"); fclose(outfile); |