CVS log for projects/ltp/lib/tst_tmpdir.c

[BACK] Up to [Development] / projects / ltp / lib

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.4 / (download) - annotate - [select for diffs], Thu Mar 15 21:21:46 2001 UTC (16 years, 7 months ago) by nstraz
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +5 -3 lines
Diff to previous 1.3 (colored)

Pointers came back to bite me today.  I really should have allocated a string
for TESTDIR instead of pointing it to a local variable.  Someone should
throw a book at me for this one.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Mar 13 21:54:05 2001 UTC (16 years, 7 months ago) by nstraz
Branch: MAIN
Changes since 1.2: +31 -2 lines
Diff to previous 1.2 (colored)

mkdtemp() is only available on glibc 2.2, and so are the marcos to find
out what version of glibc we are compiling under.  Here is code to figure
out if we are using glibc 2.2 and use a mktemp, mkdir combination otherwise.
I've tested this on glibc 2.1.2 and glibc 2.2

Revision 1.2 / (download) - annotate - [select for diffs], Tue Mar 13 16:33:54 2001 UTC (16 years, 7 months ago) by nstraz
Branch: MAIN
Changes since 1.1: +69 -67 lines
Diff to previous 1.1 (colored)

I've "modernized" the temporary directory handling.  We now use mkdtemp()
to create temporary directories.  This is the glibc recommended way.

Revision 1.1 / (download) - annotate - [select for diffs], Thu Jul 27 17:13:19 2000 UTC (17 years, 2 months ago) by alaffin
Branch: MAIN

New additions:
 - tst_ library code.
 - new quickhit tests
 - more general code cleanup

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>