php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #1297 bad comment in regex/Makefile.in
Submitted: 1999-04-06 11:14 UTC Modified: 1999-05-02 12:07 UTC
From: long at kestrel dot cc dot ukans dot edu Assigned:
Status: Closed Package: Compile Failure
PHP Version: 3.0.7 OS: Digital Unix 4.0D
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: long at kestrel dot cc dot ukans dot edu
New email:
PHP Version: OS:

 

 [1999-04-06 11:14 UTC] long at kestrel dot cc dot ukans dot edu
Line 61 and 62 of regex/Makefile.in are both supposed to be commented out.   These two lines appear as follows (that should be whitespace at the beginning of each line):

	#cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
	#rm -f regex.tmp

 It appears that Digital Unix 'make' does not like whitespace before comments though.  Thus when compiling regex I get errors such as the following:

sh ./mkh  -i _REGEX_H_ regex2.h regcomp.c regerror.c regexec.c regfree.c>regex.h
#cmp -s regex.tmp regex.h 2>/dev/null || cp regex.tmp regex.h
#rm -f regex.tmp
#rm: No such file or directory
*** Exit 1
Stop.

The simple way to fix this is to remove the whitespace before the beginning of the comments.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-05-02 12:07 UTC] sas at cvs dot php dot net
Ok, fixed in CVS
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Sep 21 02:01:27 2024 UTC