remove errors.h
This commit is contained in:
parent
a2779a1997
commit
fdcb8f794a
4 changed files with 2 additions and 36 deletions
4
Makefile
4
Makefile
|
@ -21,9 +21,9 @@ callisto.o: callisto.c callisto.h
|
||||||
lcl.o: lcl.c callisto.h util.h
|
lcl.o: lcl.c callisto.h util.h
|
||||||
lextra.o: lextra.c callisto.h util.h
|
lextra.o: lextra.c callisto.h util.h
|
||||||
lenviron.o: lenviron.c callisto.h
|
lenviron.o: lenviron.c callisto.h
|
||||||
lfs.o: lfs.c callisto.h errors.h util.h
|
lfs.o: lfs.c callisto.h util.h
|
||||||
ljson.o: ljson.c callisto.h
|
ljson.o: ljson.c callisto.h
|
||||||
lpath.o: lpath.c callisto.h errors.h util.h
|
lpath.o: lpath.c callisto.h util.h
|
||||||
lprocess.o: lprocess.c callisto.h util.h
|
lprocess.o: lprocess.c callisto.h util.h
|
||||||
util.o: util.c
|
util.o: util.c
|
||||||
|
|
||||||
|
|
32
errors.h
32
errors.h
|
@ -1,32 +0,0 @@
|
||||||
/* Error messages */
|
|
||||||
|
|
||||||
#ifndef _ERRORS_H_
|
|
||||||
|
|
||||||
#define _ERRORS_H_
|
|
||||||
|
|
||||||
#define E_PATHNAMETOOLONG "pathname too long"
|
|
||||||
#define E_WORKDIRNOTVALID "working directory is no longer valid"
|
|
||||||
#define E_COMPNOTEXIST "component of path does not exist"
|
|
||||||
#define E_DIRNOTEMPTY "directory not empty"
|
|
||||||
#define E_MOUNTPOINT "directory is busy"
|
|
||||||
#define E_NOSUCHDEST "no such file or directory"
|
|
||||||
#define E_FTRAVERSE "failed to traverse directory"
|
|
||||||
#define E_NOSUCHDIR "no such directory"
|
|
||||||
#define E_STICKYDIR "permission denied (sticky directory)"
|
|
||||||
#define E_INTFAULT "internal error (EFAULT)"
|
|
||||||
#define E_MVPARENT "cannot move a parent directory of pathname"
|
|
||||||
#define E_FEXISTS "file exists"
|
|
||||||
#define E_MAXLINK "maximum link count reached"
|
|
||||||
#define E_NOSPACE "insufficient space left on file system"
|
|
||||||
#define E_NOTADIR "pathname or a component of pathname is not a directory"
|
|
||||||
#define E_SYMLINK "could not translate pathname; too many symbolic links"
|
|
||||||
#define E_DIFFFS "pathnames are on different file systems"
|
|
||||||
#define E_DIRDOT "last component of path is '.'"
|
|
||||||
#define E_ISADIR "cannot move a file to the name of a directory"
|
|
||||||
#define E_IOERR "I/O error"
|
|
||||||
#define E_NOMEM "insufficent memory"
|
|
||||||
#define E_QUOTA "file system quota reached"
|
|
||||||
#define E_PERM "permission denied"
|
|
||||||
#define E_ROFS "read-only file system"
|
|
||||||
|
|
||||||
#endif
|
|
1
lfs.c
1
lfs.c
|
@ -20,7 +20,6 @@
|
||||||
#include <lauxlib.h>
|
#include <lauxlib.h>
|
||||||
|
|
||||||
#include "callisto.h"
|
#include "callisto.h"
|
||||||
#include "errors.h"
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|
1
lpath.c
1
lpath.c
|
@ -18,7 +18,6 @@
|
||||||
#include <lauxlib.h>
|
#include <lauxlib.h>
|
||||||
|
|
||||||
#include "callisto.h"
|
#include "callisto.h"
|
||||||
#include "errors.h"
|
|
||||||
#include "util.h"
|
#include "util.h"
|
||||||
|
|
||||||
/***
|
/***
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue