You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@httpd.apache.org by Jim Jagielski <ji...@jaguNET.com> on 1997/10/12 16:21:45 UTC
Re: cvs commit: apachen/src/support htdigest.c htpasswd.c rotatelogs.c
Is all this still under 1.3b1? I know that Dean rolled 1.3b1 but
I'm not sure of the status of the announcement. If 1.3b1 is frozen,
then we need to adjust things so that we're no on 1.3b2-dev
marc@hyperreal.org wrote:
>
> marc 97/10/11 23:00:51
>
> Modified: src/support htdigest.c htpasswd.c rotatelogs.c
> Log:
> Minor support file cleanups, -Wall cleanness, proper exit status for
> success.
>
> PR: 1212
> Submitted by: detlefenge@aol.com, Marc Slemko
>
> Revision Changes Path
> 1.12 +2 -1 apachen/src/support/htdigest.c
>
> Index: htdigest.c
> ===================================================================
> RCS file: /export/home/cvs/apachen/src/support/htdigest.c,v
> retrieving revision 1.11
> retrieving revision 1.12
> diff -u -r1.11 -r1.12
> --- htdigest.c 1997/09/14 22:48:09 1.11
> +++ htdigest.c 1997/10/12 06:00:47 1.12
> @@ -123,7 +123,7 @@
> exit(1);
> }
>
> -void main(int argc, char *argv[])
> +int main(int argc, char *argv[])
> {
> FILE *tfp, *f;
> char user[MAX_STRING_LEN];
> @@ -197,4 +197,5 @@
> sprintf(command, "cp %s %s", tn, argv[1]);
> system(command);
> unlink(tn);
> + exit(0);
> }
>
>
>
> 1.8 +2 -1 apachen/src/support/htpasswd.c
>
> Index: htpasswd.c
> ===================================================================
> RCS file: /export/home/cvs/apachen/src/support/htpasswd.c,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -r1.7 -r1.8
> --- htpasswd.c 1997/09/14 22:48:09 1.7
> +++ htpasswd.c 1997/10/12 06:00:47 1.8
> @@ -142,7 +142,7 @@
> exit(1);
> }
>
> -void main(int argc, char *argv[])
> +int main(int argc, char *argv[])
> {
> FILE *tfp, *f;
> char user[MAX_STRING_LEN];
> @@ -212,4 +212,5 @@
> sprintf(command, "cp %s %s", tn, argv[1]);
> system(command);
> unlink(tn);
> + exit(0);
> }
>
>
>
> 1.8 +5 -5 apachen/src/support/rotatelogs.c
>
> Index: rotatelogs.c
> ===================================================================
> RCS file: /export/home/cvs/apachen/src/support/rotatelogs.c,v
> retrieving revision 1.7
> retrieving revision 1.8
> diff -u -r1.7 -r1.8
> --- rotatelogs.c 1997/09/14 22:48:09 1.7
> +++ rotatelogs.c 1997/10/12 06:00:48 1.8
> @@ -17,10 +17,10 @@
> #include <fcntl.h>
> #include <unistd.h>
>
> -void main (int argc, char **argv)
> +int main (int argc, char **argv)
> {
> char buf[BUFSIZE], buf2[MAX_PATH];
> - time_t tLogEnd;
> + time_t tLogEnd = 0;
> time_t tRotation;
> int nLogFD = -1;
> int nRead;
> @@ -40,10 +40,10 @@
> argv[0]);
> #endif
> fprintf(stderr,
> - "to httpd.conf. The generated name will be /some/where.nnnn ",
> - "where nnnn is the\nsystem time at which the log nominally ",
> + "to httpd.conf. The generated name will be /some/where.nnnn "
> + "where nnnn is the\nsystem time at which the log nominally "
> "starts (N.B. this time will always be a\nmultiple of the "
> - "rotation time, so you can synchronize cron scripts with it).\n",
> + "rotation time, so you can synchronize cron scripts with it).\n"
> "At the end of each rotation time a new log is started.\n");
> exit(1);
> }
>
>
>
>
--
====================================================================
Jim Jagielski | jaguNET Access Services
jim@jaguNET.com | http://www.jaguNET.com/
"Look at me! I'm wearing a cardboard belt!"
Re: cvs commit: apachen/src/support htdigest.c htpasswd.c rotatelogs.c
Posted by Marc Slemko <ma...@worldgate.com>.
On Sun, 12 Oct 1997, Jim Jagielski wrote:
> Is all this still under 1.3b1? I know that Dean rolled 1.3b1 but
> I'm not sure of the status of the announcement. If 1.3b1 is frozen,
> then we need to adjust things so that we're no on 1.3b2-dev
Oh, sorry. I didn't notice that it hadn't been bumped past 1.3b1.
General agreement in the past was that as soon as the release tarball is
rolled bump past to the next dev and then if we have to reroll just skip
that version unless it is _very_ soon after the first roll...
b1 doesn't work under NT due to a couple of minor details.
>
> marc@hyperreal.org wrote:
> >
> > marc 97/10/11 23:00:51
> >
> > Modified: src/support htdigest.c htpasswd.c rotatelogs.c
> > Log:
> > Minor support file cleanups, -Wall cleanness, proper exit status for
> > success.
> >
> > PR: 1212
> > Submitted by: detlefenge@aol.com, Marc Slemko
> >
> > Revision Changes Path
> > 1.12 +2 -1 apachen/src/support/htdigest.c
> >
> > Index: htdigest.c
> > ===================================================================
> > RCS file: /export/home/cvs/apachen/src/support/htdigest.c,v
> > retrieving revision 1.11
> > retrieving revision 1.12
> > diff -u -r1.11 -r1.12
> > --- htdigest.c 1997/09/14 22:48:09 1.11
> > +++ htdigest.c 1997/10/12 06:00:47 1.12
> > @@ -123,7 +123,7 @@
> > exit(1);
> > }
> >
> > -void main(int argc, char *argv[])
> > +int main(int argc, char *argv[])
> > {
> > FILE *tfp, *f;
> > char user[MAX_STRING_LEN];
> > @@ -197,4 +197,5 @@
> > sprintf(command, "cp %s %s", tn, argv[1]);
> > system(command);
> > unlink(tn);
> > + exit(0);
> > }
> >
> >
> >
> > 1.8 +2 -1 apachen/src/support/htpasswd.c
> >
> > Index: htpasswd.c
> > ===================================================================
> > RCS file: /export/home/cvs/apachen/src/support/htpasswd.c,v
> > retrieving revision 1.7
> > retrieving revision 1.8
> > diff -u -r1.7 -r1.8
> > --- htpasswd.c 1997/09/14 22:48:09 1.7
> > +++ htpasswd.c 1997/10/12 06:00:47 1.8
> > @@ -142,7 +142,7 @@
> > exit(1);
> > }
> >
> > -void main(int argc, char *argv[])
> > +int main(int argc, char *argv[])
> > {
> > FILE *tfp, *f;
> > char user[MAX_STRING_LEN];
> > @@ -212,4 +212,5 @@
> > sprintf(command, "cp %s %s", tn, argv[1]);
> > system(command);
> > unlink(tn);
> > + exit(0);
> > }
> >
> >
> >
> > 1.8 +5 -5 apachen/src/support/rotatelogs.c
> >
> > Index: rotatelogs.c
> > ===================================================================
> > RCS file: /export/home/cvs/apachen/src/support/rotatelogs.c,v
> > retrieving revision 1.7
> > retrieving revision 1.8
> > diff -u -r1.7 -r1.8
> > --- rotatelogs.c 1997/09/14 22:48:09 1.7
> > +++ rotatelogs.c 1997/10/12 06:00:48 1.8
> > @@ -17,10 +17,10 @@
> > #include <fcntl.h>
> > #include <unistd.h>
> >
> > -void main (int argc, char **argv)
> > +int main (int argc, char **argv)
> > {
> > char buf[BUFSIZE], buf2[MAX_PATH];
> > - time_t tLogEnd;
> > + time_t tLogEnd = 0;
> > time_t tRotation;
> > int nLogFD = -1;
> > int nRead;
> > @@ -40,10 +40,10 @@
> > argv[0]);
> > #endif
> > fprintf(stderr,
> > - "to httpd.conf. The generated name will be /some/where.nnnn ",
> > - "where nnnn is the\nsystem time at which the log nominally ",
> > + "to httpd.conf. The generated name will be /some/where.nnnn "
> > + "where nnnn is the\nsystem time at which the log nominally "
> > "starts (N.B. this time will always be a\nmultiple of the "
> > - "rotation time, so you can synchronize cron scripts with it).\n",
> > + "rotation time, so you can synchronize cron scripts with it).\n"
> > "At the end of each rotation time a new log is started.\n");
> > exit(1);
> > }
> >
> >
> >
> >
>
>
> --
> ====================================================================
> Jim Jagielski | jaguNET Access Services
> jim@jaguNET.com | http://www.jaguNET.com/
> "Look at me! I'm wearing a cardboard belt!"
>