cvs commit: ALFS/nALFS/src utility.c

kpfleming at linuxfromscratch.org kpfleming at linuxfromscratch.org
Mon Mar 1 20:08:29 PST 2004


kpfleming    04/03/01 21:08:29

  Modified:    nALFS/src utility.c
  Log:
  add const specification for change_current_dir parameter
  
  Revision  Changes    Path
  1.8       +1 -1      ALFS/nALFS/src/utility.c
  
  Index: utility.c
  ===================================================================
  RCS file: /home/cvsroot/ALFS/nALFS/src/utility.c,v
  retrieving revision 1.7
  retrieving revision 1.8
  diff -u -r1.7 -r1.8
  --- utility.c	3 Nov 2003 21:45:04 -0000	1.7
  +++ utility.c	2 Mar 2004 04:08:29 -0000	1.8
  @@ -333,7 +333,7 @@
    * Misc.
    */
   
  -int change_current_dir(const char *dir)
  +int change_current_dir(const char * const dir)
   {
   	if (chdir(dir)) {
   		PRINT_ERROR("Changing current directory to %s failed:", dir);
  
  
  



More information about the alfs-log mailing list