]> code.citadel.org Git - citadel.git/blobdiff - citadel/file_ops.c
* msgbase.c: when a summary mode message list is requested, and the room
[citadel.git] / citadel / file_ops.c
index e4f69426f853a858a0cc8ec99b7839015f8fcfdd..97aa235b4e5f80fd4d57d89eaf2b20059a91eecc 100644 (file)
@@ -5,10 +5,6 @@
  *
  */
 
-#ifdef DLL_EXPORT
-#define IN_LIBCIT
-#endif
-
 #include "sysdep.h"
 #include <stdlib.h>
 #include <unistd.h>
@@ -138,7 +134,7 @@ void cmd_delf(char *filename)
        }
        snprintf(pathname, sizeof pathname, 
 #ifndef HAVE_DATA_DIR
-                        "." /* FIXME: should here be CTDLDIR ? */
+                        "."
 #else
                         DATA_DIR
 #endif
@@ -277,7 +273,7 @@ void cmd_netf(char *cmdbuf)
        }
        snprintf(outfile, sizeof outfile,
 #ifndef HAVE_SPOOL_DIR
-                        CTDLDIR
+                        "."
 #else
                         SPOOL_DIR
 #endif
@@ -313,7 +309,7 @@ void cmd_netf(char *cmdbuf)
        snprintf(buf, sizeof buf,
                         "cd "
 #ifndef HAVE_DATA_DIR
-                        "." /* FIXME: should here be CTDLDIR ? */
+                        "."
 #else
                         DATA_DIR
 #endif
@@ -393,7 +389,7 @@ void cmd_open(char *cmdbuf)
 
        snprintf(pathname, sizeof pathname,
 #ifndef HAVE_DATA_DIR
-                        "." /* FIXME: should here be CTDLDIR ? */
+                        "."
 #else
                         DATA_DIR
 #endif
@@ -444,7 +440,7 @@ void cmd_oimg(char *cmdbuf)
                }
                snprintf(pathname, sizeof pathname, 
 #ifndef HAVE_DATA_DIR
-                                "." /* FIXME: should here be CTDLDIR ? */
+                                "."
 #else
                                 DATA_DIR
 #endif
@@ -454,7 +450,7 @@ void cmd_oimg(char *cmdbuf)
                which_floor = extract_int(cmdbuf, 1);
                snprintf(pathname, sizeof pathname,
 #ifndef HAVE_DATA_DIR
-                                "." /* FIXME: should here be CTDLDIR ? */
+                                "."
 #else
                                 DATA_DIR
 #endif
@@ -470,7 +466,7 @@ void cmd_oimg(char *cmdbuf)
                }
                snprintf(pathname, sizeof pathname, 
 #ifndef HAVE_DATA_DIR
-                                "." /* FIXME: should here be CTDLDIR ? */
+                                "."
 #else
                                 DATA_DIR
 #endif
@@ -525,7 +521,7 @@ void cmd_uopn(char *cmdbuf)
        }
        snprintf(CC->upl_path, sizeof CC->upl_path, 
 #ifndef HAVE_DATA_DIR
-                        "." /* FIXME: should here be CTDLDIR ? */
+                        "."
 #else
                         DATA_DIR
 #endif
@@ -533,7 +529,7 @@ void cmd_uopn(char *cmdbuf)
                         CC->room.QRdirname, CC->upl_file);
        snprintf(CC->upl_filedir, sizeof CC->upl_filedir,
 #ifndef HAVE_DATA_DIR
-                        "." /* FIXME: should here be CTDLDIR ? */
+                        "."
 #else
                         DATA_DIR
 #endif
@@ -594,7 +590,7 @@ void cmd_uimg(char *cmdbuf)
        if (CC->user.axlevel >= 6) {
                snprintf(CC->upl_path, sizeof CC->upl_path, 
 #ifndef HAVE_DATA_DIR
-                                "." /* FIXME: should here be CTDLDIR ? */
+                                "."
 #else
                                 DATA_DIR
 #endif
@@ -605,7 +601,7 @@ void cmd_uimg(char *cmdbuf)
        if (!strcasecmp(basenm, "_userpic_")) {
                snprintf(CC->upl_path, sizeof CC->upl_path,
 #ifndef HAVE_DATA_DIR
-                                "." /* FIXME: should here be CTDLDIR ? */
+                                "."
 #else
                                 DATA_DIR
 #endif
@@ -617,7 +613,7 @@ void cmd_uimg(char *cmdbuf)
                which_floor = extract_int(cmdbuf, 2);
                snprintf(CC->upl_path, sizeof CC->upl_path,
 #ifndef HAVE_DATA_DIR
-                                "." /* FIXME: should here be CTDLDIR ? */
+                                "."
 #else
                                 DATA_DIR
 #endif
@@ -670,7 +666,7 @@ void cmd_clos(void)
                CC->dl_is_net = 0;
                snprintf(buf, sizeof buf, 
 #ifndef HAVE_SPOOL_DIR
-                                CTDLDIR
+                                "."
 #else
                                 SPOOL_DIR
 #endif
@@ -834,7 +830,7 @@ void cmd_ndop(char *cmdbuf)
 
        snprintf(pathname, sizeof pathname, 
 #ifndef HAVE_SPOOL_DIR
-                        CTDLDIR
+                        "."
 #else
                         SPOOL_DIR
 #endif
@@ -887,7 +883,7 @@ void cmd_nuop(char *cmdbuf)
 
        snprintf(CC->upl_path, sizeof CC->upl_path,
 #ifndef HAVE_SPOOL_DIR
-                        CTDLDIR
+                        "."
 #else
                         SPOOL_DIR
 #endif