hurdextras-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

httpfs ChangeLog netfs.c


From: Samuel Thibault
Subject: httpfs ChangeLog netfs.c
Date: Tue, 3 Oct 2023 15:31:59 -0400 (EDT)

CVSROOT:        /sources/hurdextras
Module name:    httpfs
Changes by:     Samuel Thibault <sthibaul>      23/10/03 15:31:59

Modified files:
        .              : ChangeLog netfs.c 

Log message:
        Fix build

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/httpfs/ChangeLog?cvsroot=hurdextras&r1=1.10&r2=1.11
http://cvs.savannah.gnu.org/viewcvs/httpfs/netfs.c?cvsroot=hurdextras&r1=1.3&r2=1.4

Patches:
Index: ChangeLog
===================================================================
RCS file: /sources/hurdextras/httpfs/ChangeLog,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- ChangeLog   27 Jan 2013 23:16:14 -0000      1.10
+++ ChangeLog   3 Oct 2023 19:31:59 -0000       1.11
@@ -1,45 +1,120 @@
-2013-01-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+2020-09-13 16:54  sthibaul
 
-       * parsehtml.c (startElement): Use strcasecmp to match "href".
-       * extract.c (extract): Use strdupa for temporary strings. Ignore
-       absolute URLs. Drop internal refs and form data instead of ignoring
+       * TODO: Add TODO ideas
+
+2020-09-09 19:12  sthibaul
+
+       * http.c: httpfs: fix HEAD request message
+
+         The HEAD request used to fetch metadata about a file via HTTP
+         contains a trailing 0x20 character which will cause modern
+         HTTP/1.1 servers to reject the request.
+
+2017-01-02 21:16  sthibaul
+
+       * node.c: Update refcount management
+
+2013-01-28 00:16  sthibaul
+
+       * ChangeLog, extract.c:         * extract.c (extract): Use strdupa
+         for temporary strings. Ignore
+                 absolute URLs. Drop internal refs and form data instead
+         of ignoring
        the whole link. Stop trying to resolve directory names.
 
-2013-01-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+2013-01-28 00:14  sthibaul
 
-       * netfs.c: Call pthread_mutex_lock and pthread_mutex_unlock instead of
-       * Makefile.am: Link -lpthread instead of -lthreads.
+       * ChangeLog, parsehtml.c:       * parsehtml.c (startElement): Use
+         strcasecmp to match "href".
 
-2012-09-30  Cyril Roelandt  <tipecaml@gmail.com>
-2013-01-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
+2013-01-25 01:50  sthibaul
 
-       * http.c (fill_dirnode): Fix URL parsing, add 1 to conn_req size in
+       * ChangeLog, http.c: 2012-09-30  Cyril Roelandt
+         <tipecaml@gmail.com> 2013-01-25  Samuel Thibault
+         <samuel.thibault@ens-lyon.org>
+
+                 * http.c (fill_dirnode): Fix URL parsing, add 1 to
+         conn_req size in
        cases which will need an additional trailing slash.
 
-2012-09-30  Cyril Roelandt  <tipecaml@gmail.com>
+2013-01-25 01:42  sthibaul
+
+       * http.c: Reindent http.c, no code change
+
+2013-01-25 01:40  sthibaul
+
+       * ChangeLog, Makefile.am: 2013-01-25  Samuel Thibault
+         <samuel.thibault@ens-lyon.org>
+
+                 * Makefile.am: Link -lpthread instead of -lthreads.
+
+2013-01-25 01:40  sthibaul
 
-       * netfs.c (netfs_attempt_utimes): Copy atime and mtime timespec
+       * ChangeLog: Add ChangeLog
+
+2013-01-25 01:36  sthibaul
+
+       * netfs.c: Switch from cthreads to  pthreads
+
+         * netfs.c: Call pthread_mutex_lock and pthread_mutex_unlock
+         instead of mutex_lock and mutex_unlock
+
+2013-01-14 11:47  sthibaul
+
+       * ChangeLog, Makefile.am, configure.in, httpfs.c, httpfs.h,
+         netfs.c: 2012-09-30 Cyril Roelandt <tipecaml@gmail.com>
+
+                 * netfs.c (netfs_attempt_utimes): Copy atime and mtime
+         timespec
        structures into node->nn_stat.st_atim/st_mtim.
-       (netfs_attempt_set_size, netfs_attempt_statfs, netfs_attempt_read,
+                 (netfs_attempt_set_size, netfs_attempt_statfs,
+         netfs_attempt_read,
        netfs_attempt_write): Fix prototype.
 
-2006-01-12  Manuel Menal  <mmenal@hurdfr.org>
+         2006-01-12 Manuel Menal <mmenal@hurdfr.org>
 
-       * Makefile.am (httpfs_LDADD): correct linking order to fix pthread
+                 * Makefile.am (httpfs_LDADD): correct linking order to
+         fix pthread
        problem.
        * configure.in: update, add libxml2 dependency.
        * httpfs.h: define HTTPFS_SERVER_NAME/VERSION.
        * httpfs.c: export netfs_server_{name,version}.
 
-2002-05-06  James Morrison  <jim@squirrel>
+2002-05-06 13:34  mrphython
+
+       * ChangeLog, NOTES:     * NOTES: Corrected licenses.
+
+2002-05-06 12:56  mrphython
 
-       * NOTES: license corrections.
-       * NOTES: new file.
+       * ChangeLog, NOTES:     * NOTES: new file.l
 
-2002-04-15  James A. Morrison  <ja2morri@uwaterloo.ca>
+2002-04-16 01:49  mrphython
 
-       * Makefile.am: Add INCLUDES.  Configure with 
-       configure --includedir=/include/libxml2 on Debian GNU/Hurd.
+       * ChangeLog, Makefile.am, Makefile.in, httpfs.c:         *
+         Makefile.am: Add INCLUDES.  Configure with
+                 configure --includedir=/include/libxml2 on Debian
+         GNU/Hurd.
        * httpfs.c: Ran through indent.
-       (main): Use error to exit.  Check return values of mallocs.
+                 (main): Use error to exit.  Check return values of
+         mallocs.
+
+                 * Removed all the files in .deps
+
+2002-04-15 21:33  mrphython
+
+       * Makefile:     * Removed Makefile
+
+2002-04-15 21:25  mrphython
+
+       * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, Makefile.in,
+         NEWS, README, args.c, configure.in, extract.c, http.c, httpfs.c,
+         httpfs.h, install-sh, missing, mkinstalldirs, netfs.c, node.c,
+         Makefile, aclocal.m4, parsehtml.c: Import httpfs
+
+2002-04-15 21:25  mrphython
+
+       * AUTHORS, COPYING, ChangeLog, INSTALL, Makefile.am, Makefile.in,
+         NEWS, README, args.c, configure.in, extract.c, http.c, httpfs.c,
+         httpfs.h, install-sh, missing, mkinstalldirs, netfs.c, node.c,
+         Makefile, aclocal.m4, parsehtml.c: Initial revision
 

Index: netfs.c
===================================================================
RCS file: /sources/hurdextras/httpfs/netfs.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- netfs.c     25 Jan 2013 00:36:50 -0000      1.3
+++ netfs.c     3 Oct 2023 19:31:59 -0000       1.4
@@ -40,7 +40,7 @@
    locked on success; no matter what, unlock DIR before returning.  */
 error_t
 netfs_attempt_create_file (struct iouser *user, struct node *dir,
-                                                                               
                         char *name, mode_t mode, struct node **node)
+                                                                               
                         const char *name, mode_t mode, struct node **node)
 {
        *node = NULL;
        pthread_mutex_unlock (&dir->lock);
@@ -258,7 +258,7 @@
    (*NODE, if found, should be locked, this call should unlock DIR no matter
    what.) */
 error_t netfs_attempt_lookup (struct iouser *user, struct node *dir,
-                       char *name, struct node ** node)
+                       const char *name, struct node ** node)
 {
        error_t err;
        struct node *nd;
@@ -309,15 +309,15 @@
 
 /* Delete NAME in DIR for USER. */
 error_t netfs_attempt_unlink (struct iouser *user, struct node *dir,
-                             char *name)
+                             const char *name)
 {
        return EROFS;
 }
 
 /* Note that in this one call, neither of the specific nodes are locked. */
 error_t netfs_attempt_rename (struct iouser *user, struct node *fromdir,
-               char *fromname, struct node *todir,
-               char *toname, int excl)
+               const char *fromname, struct node *todir,
+               const char *toname, int excl)
 {
        return EROFS;
 }
@@ -325,14 +325,14 @@
 /* Attempt to create a new directory named NAME in DIR for USER with mode
    MODE.  */
 error_t netfs_attempt_mkdir (struct iouser *user, struct node *dir,
-                            char *name, mode_t mode)
+                            const char *name, mode_t mode)
 {
        return EROFS;
 }
 
 /* Attempt to remove directory named NAME in DIR for USER. */
 error_t netfs_attempt_rmdir (struct iouser *user,
-                            struct node *dir, char *name)
+                            struct node *dir, const char *name)
 {
        return EROFS;
 }
@@ -366,7 +366,7 @@
 
 /* Attempt to turn NODE (user CRED) into a symlink with target NAME. */
 error_t netfs_attempt_mksymlink (struct iouser *cred, struct node *node,
-                                char *name)
+                                const char *name)
 {
        return EROFS;
 }
@@ -382,7 +382,7 @@
 /* Attempt to set the passive translator record for FILE to ARGZ (of length
    ARGZLEN) for user CRED. */
 error_t netfs_set_translator (struct iouser *cred, struct node *node,
-                       char *argz, size_t argzlen)
+                       const char *argz, size_t argzlen)
 {
        return EROFS;
 }
@@ -434,7 +434,7 @@
    DIR nor FILE are locked.  If EXCL is set, do not delete the target, but
    return EEXIST if NAME is already found in DIR.  */
 error_t netfs_attempt_link (struct iouser *user, struct node *dir,
-                       struct node *file, char *name, int excl)
+                       struct node *file, const char *name, int excl)
 {
        return EROFS;
 }
@@ -502,7 +502,7 @@
    to *LEN bytes from DATA.  Set *LEN to the amount seccessfully written upon
    return. */
 error_t netfs_attempt_write (struct iouser *cred, struct node *node,
-                        loff_t offset, size_t *len, void *data)
+                        loff_t offset, size_t *len, const void *data)
 {
        return EROFS;
 }



reply via email to

[Prev in Thread] Current Thread [Next in Thread]