Nginx-ru mailing list archive (nginx-ru@sysoev.ru)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
autoindex on XFS
- To: nginx-ru@xxxxxxxxx
- Subject: autoindex on XFS
- From: dimkalinux <dimkalinux@xxxxxxxxx>
- Date: Thu, 5 Mar 2009 10:35:57 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=FmJqtI1KIDRm9cR9IZZuqKXABbY8vbP4VdviVvgBXsE=; b=LMoHxc7AgdxKhZDYaSRtac/XiNQZLB+N4wXukdq89yM/tGjkEnOL3/EH/Hwnhhebmv 5mXqyOgJe/f365U+OJZ4nNXg+etDDjHR1D6tt/r3yNX+uZZ2ZNSgS1akGy1vcjBF8tVw IclfvTJzDCr5CXQCbsf4Ikiopqh2indD18PI8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=pZu8NutJbZfcAJUyuDPL1DXOMycvudRc1WAd7lH5htDZE/m8AatLSBs+Gonwn8LGMf DXE6YEfRpb67X5xr/PNY8MwCMYhDv1vLdV5O2cmbmYTwqmvl8QPvsSO/NfE6Rp7dybTH cRUpReCT/Fl/uLOM1DRZC17eqlX27yhY08k6Q=
Патч работает, но он никак не хотел применяться (patch -p0) пока не
удалил вторые плюсы в строчках
+#define ngx_de_is_dir(dir)
+ (((dir)->type) ? ((dir)->type == DT_DIR) :
(S_ISDIR((dir)->info.st_mode)))
+#define ngx_de_is_file(dir)
+ (((dir)->type) ? ((dir)->type == DT_REG) :
(S_ISREG((dir)->info.st_mode)))
+#define ngx_de_is_link(dir)
+ (((dir)->type) ? ((dir)->type == DT_LINK) :
(S_ISLNK((dir)->info.st_mode)))
--
dimka-linux,
Jabber: dimkalinux@xxxxxxxxx
Public key: 8B5EDD83
|