|
DataMuseum.dkPresents historical artifacts from the history of: DKUUG/EUUG Conference tapes |
This is an automatic "excavation" of a thematic subset of
See our Wiki for more about DKUUG/EUUG Conference tapes Excavated with: AutoArchaeologist - Free & Open Source Software. |
top - metrics - download
Length: 470 (0x1d6) Types: TextFile Names: »file_cpy.c«
└─⟦2d1937cfd⟧ Bits:30007241 EUUGD22: P.P 5.0 └─⟦35176feda⟧ »EurOpenD22/isode/isode-6.tar.Z« └─⟦de7628f85⟧ └─⟦this⟧ »isode-6.0/dsap/common/file_cpy.c«
#include "quipu/util.h" #include "quipu/attrvalue.h" struct file_syntax * fileattr_cpy (fs) struct file_syntax * fs; { fs->fs_ref++; return (fs); } file_cmp (a,b) struct file_syntax *a, *b; { if ((a->fs_attr != NULLAttrV) && (b->fs_attr != NULLAttrV)) return (AttrV_cmp (a->fs_attr,b->fs_attr)); /* just compare file name for now */ if (a->fs_name == NULLCP) return (2); if (b->fs_name == NULLCP) return (2); return (pstrcmp (a->fs_name,b->fs_name)); }